Contents - Index


$Python

 

The Professional license of EES is able to call Python to run scripts.  When EES calls a Python procedure having a .pyw file name extension, it must know the complete file name (including the path) for the Python interpreter, PythonW.exe.  If Python is installed in the normal location, EES will likely find it.  However, if EES cannot find your Python program or if you wish to use a different version of Python than the one EES has found, you can specify the location with this directive.  Note that this directive is only of use if the user is planning to use Python Procedures.  EES does not need the Python interpreter for any other purpose.   

 

Examples:

 

To use the default Python interpreter enter:

 

$Python     

 

 

 

To use a specific Python interpreter  enter:                                       

 

$Python  'C:\Python27\PythonW.exe'   

 

 

Include a $Python directive if you wish to have the Function Information dialog show the Python procedures that reside in Userlib\Python folder.

 

 

After executing the $Python directive, EES will search the Userlib\Python folder and display the .pyw files (and provide access to their help files) in the Function Information dialog, e.g., .

 

 

 

Directives