Home:ALL Converter>Python Repl in Python

Python Repl in Python

Ask Time:2018-11-14T09:00:12         Author:skwarerüt

Json Formatter

Am I right in assuming that the Python shell is coded in Python? If so, where, might one find the source code? If I wanted to write a shell program that did things differently, could I just copy the code to new_shell.py, make a few changes, and then set up a bash alias 'python'='python3 new_shell'?

Author:skwarerüt,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53291685/python-repl-in-python
yy