Import Idf - Python3

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Posts: 2096
Joined: Tue Feb 21, 2012 8:07 pm
Location: Torino - Italy

Import Idf - Python3

Postby renatorivo » Fri Jun 14, 2019 9:05 pm


Code: Select all

25 import FreeCAD, Part, os, FreeCADGui, __builtin__
57 pythonopen = 
Renamed module __builtin__ to builtins (removing the underscores, adding an ‘s’). The __builtins__ variable found in most global namespaces is unchanged. To modify a builtin, you should use builtins, not __builtins__!