Translations:Embedding FreeCAD/4/en

The first and important part is to make sure python will find our FreeCAD library. Once it finds it, all FreeCAD modules such as Part (that we'll use as well) will be available automatically. So we simply take the variable, which is where python searches for modules, and we append the FreeCAD library path. This modification is only temporary, and will be lost when we'll close our python interpreter. An alternate way could be: making a link to your FreeCAD library in one of the python search paths. I stored the path in a constant so it'll be easier for another user of the script to configure it to their own system. For Windows users it is important that the path be specified using or  as separator instead of just  since it is an escape character.