shell - How to disable creating a new python IDLE session when compiling through Notepad++? -
shell - How to disable creating a new python IDLE session when compiling through Notepad++? -
when i'm compiling python
through notepad++
new python shell ( idle
) everytime, rather maintain 1 fixed window, instead of new window on position.
so example, when write script prints "hello world!" , compile python shell displays text, , when modify script "goodbye world!" same shell prints text. or that shell gets closed, @ same position new shell emerges new text.
could please help me i'm having hard time figuring out.. many in advance!
you might have noticed, python
source code not require compilation run. python source-code rather beeing interpreted on-the-fly, language "engine".
your issue related notepad++
settings , o/s settings.
idle
program, has typically been set in o/s associated-application set of filename-extensions ( .py
, etc )
if notepad++ compile not phone call o/s "launch" file, problem ceases exist.
your normal step "run" file re-type within python
terminal, whenever have saved code-modification in notepad++
:
>>> execfile( "<<_whatever_filename_my_python_source_has_>>" ) # local dir >>> execfile( "c:\\somedir\\anothersubdir\\runmypython.py" ) # doubled-slashes
python shell notepad++
Comments
Post a Comment