Translations:Manual:A gentle introduction/9/en

There are two easy ways to write Python code in FreeCAD: From the Python console, or from the Macro editor. In the console, you write Python commands one by one, which are executed when you press return, while macros can contain a more complex script made of several lines, which is executed only when the macro is launched from the same Macros window.