Turbocharge your Python development with the latest release of PyScripter!

New featuresPyScripterPython

System commands in the interpreter

PyScripter 3.6 allows you to issue system commands in the interpreter.  System commands start with an exclamation mark (!).  For example:

One gotcha that you need to be aware is that you changing the current directory will not have any effect, since system commands are executed in a separate process.  You will need to use  os.chdir for the change to take effect.

A nice twist about this feature, is that if you use an SSH Engine you can issue system commands to the remote server:

Leave a Reply