Previous Topic

Book Contents

Book Index

Next Topic

Installing and Using Standard Libraries

Python comes with a set of 'standard libraries' (a collection of .py files) which are the equivalent of Java API. To use them, you only need to copy the .py files to the <Valuemation root>/Python/lib directory. The 'python.home' Java property is set automatically to this directory during the Valuemation startup (if it has not been already set in the 'admin.bat' file).

Note that the directory has to be writable because Python needs to create .class files in this directory. To use a function/class from any standard library, add the corresponding import statement and call this function/class.

See Also

Script Libraries

Creating and Using Valuemation Libraries