CommandLine

PyScripter

Command Line
Previous Top Next

You can specify command line parameters for scripts running internally or being debugged via the Command Line Parameters... command of the Run menu.  This command invokes the following dialog in which you specify the command line parameters as well as enable or disable their use.

graphic

The small button with the down arrow next to the edit field provides access to the most recently used command line parameters.

When command line parameters are enabled the provided parameters are placed in the argv list of the Python sys module before running or debugging scripts.  Note that the script name is automatically inserted as the first argument and should not be specified here.  In entering the command line you can use parameters and modifiers.

Note that:
·    Shft+Ctrl+P provides Parameter completion
·    Shft+Ctrl+M provides Modifier completion