Translations:Introduction to Python/154/en

There are several of ways to execute a Python program. In Windows, simply right-click your file, open it with Python, and execute it. But you can also execute it from the Python interpreter itself. For this, the interpreter must know where your program is. In FreeCAD the easiest way is to place your program in a folder that FreeCAD's Python interpreter knows by default, such as FreeCAD's user folder: Let's add a subfolder there called and then write a file like this:
 * On Linux it is usually  or.
 * On Windows it is, which is usually.
 * On macOS it is usually.