Initialization
Scripts
|
Previous Top Next |
PyScripter
can run initialization scripts that customize the program or the Python engine
in different ways.
Two different
scripts can be provided:
a) pyscripter_init.py
This file
is run once after the program is loaded and can be used for intance
to
modify Pyscripter IDE options. It is run in the namespace of the internal
interpreter.
b) python_init.py
This file
is run every time a Python engine is initialized. It can be used to customize
the Python environment by importing certain units for instance.
Both of these
files should be located in the directory %APPDATA%\Pyscripter where %APPDATA%
refers to the directory defined by the environment variable.