Python IDLE execution in shell, text-based tool such as linux terminal or windows powershell.
When you are using text-based system such as linux terminal or windows dos (or powerhsell), you may want open file of python (blahblah.py) through IDLE.
In this case, you can use below commands
If python path is here
C:\Python27\
In order to open IDLE, you have to open using pythonw.exe
So you can do like this.
C:\Python27\pythonw.exe C:\Python27\Lib\idlelib\idle.py .\blahblah.py
Thanks!
Have fun!
In this case, you can use below commands
If python path is here
C:\Python27\
In order to open IDLE, you have to open using pythonw.exe
So you can do like this.
C:\Python27\pythonw.exe C:\Python27\Lib\idlelib\idle.py .\blahblah.py
Thanks!
Have fun!
댓글
댓글 쓰기