@jocerfranquiz 20251024
First, we need to create an interpreter session. This is really easy. We just need to use the code module included in Python's standard library (I'm using Python 3.10.12 btw), and 2 lines of code.
#!/usr/bin/env python3
# custom_repl.py