How do I connect the python terminal to the shell/idle? What I am typing in the terminal is not showing up in the idle?
Idle is a plain text editor that is tied into the Python interpreter for convenience. Python runs from terminal, usually just by typing "python". It depends on where Python is located and your PATH environmental variable. You can try running "which python" to find out where python is located.
I tried running "which python" from the terminal but it didn't work. I want to know how to run the program from the text editor IDLE. I do not see any run button though. What am I doing wrong? Thanks much
is the "which python" syntax correct. i'm getting a syntax error. what exactly do i need to type in/enter into the terminal to enact the "which python" command.
Follow this steps. 1.just save the python program in some location in your hard disk drive. 2.open terminal change directory using cd command. go to the location. 3.type python <filename.py>
ok, thanks. I've solved my conundrum. thanks for the guidance
Join our real-time social learning platform and learn together with your friends!