I just used the exec function and the eval function to create what seems like a real python terminal!
@nt998302 You can get a bash command line in this by typing "from os import system" and "system('sh')". You can also convert the Python command line into bash by using "from os import system as exec". If in the bash command line, you can also run the actual python shell by typing "python".
exec() function executes a string or code object as python code.
eval() essentially does the same thing, but runs the code within the program.