Translations:Python scripting tutorial/12/en

Now our new document will be created. This is similar to pressing the button on the toolbar. In fact most buttons in FreeCAD do nothing more than execute one or more lines of Python code. Even better, you can set an option in to. This will print in the console all Python code executed when you press buttons. Very useful for learning how to reproduce actions in Python.