Working Terminal like thing!
Viper2211 (54)

I just used the exec function and the eval function to create what seems like a real python terminal!

You are viewing a single comment. View All
[deleted]

@Highwayman the exec() function executes a string or code object as python code. eval() essentially does the same thing, but runs the code within the program.

More Information:
eval(): https://www.programiz.com/python-programming/methods/built-in/eval
exec(): https://www.programiz.com/python-programming/methods/built-in/exec