Next / Previous / Contents / TCC Help System / NM Tech homepage

21.7. execfile(): Execute a Python source file

To execute a sequence of Python statements in some file F, use this function:


The function returns None. For additional features that allow you to control the environment of the executed statements, see the official documentation.