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

 

The Python language is not built into TCC, and must be obtained separately. The version supported by TCC is from https://python.org. TCC supports versions 3.13, 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 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 will automatically load a Python interpreter when it starts. If a suitable library is found, TCC checks to see if you are running a .PY file. If so, TCC passes the file to your Python interpreter for processing.

 

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