The goliat.py file is run inside FreeCAD. Read the following tutorial to know how to run a python script from FreeCAD http://www.freecadweb.org/wiki/index.php?title ...