Python is a powerful file and text processing language available on many platforms. Python is an ideal extension to the TCC-RT batch language, especially if you need advanced string processing capabilities.

 

The Python language is not built into TCC-RT, and must be obtained separately. The version supported by TCC-RT is from https://python.org. TCC-RT supports versions 3.12, 3.11, 3.10, 3.9, 3.8, 3.7, 3.6, 3.5, 3.4, 3.3, 3.2, 3.1, 2.7, 2.6, and 2.5. (TCC-RT will search for the Python dll's in that order.)

 

You must enable Python support in the OPTION / Startup page. If it is enabled, TCC-RT will automatically load a Python interpreter when it starts. If a suitable library is found, TCC-RT checks to see if you are running a .PY file. If so, TCC-RT passes the file to your Python interpreter for processing.

 

See also: the @PYTHON, @LUA, @PERL, @REXX and @RUBY functions.