mcneel / ghpython

A Grasshopper component for Rhino.Python
http://www.food4rhino.com/project/ghpython
118 stars 34 forks source link

Import modules in same folder #12

Closed piac closed 10 years ago

piac commented 13 years ago

It might be useful to be able to import modules that are in the same folder as the ghx file (add ghx folder to search path)

bengolder commented 13 years ago

I agree. I think it might also make sense to add the Components Folder to sys.path, and that way people could install python packages in their Components Folder for general use in ghpython.

saeranv commented 10 years ago

I'd really like this too! The last comment on this was two years ago - has any there been progress made on this?

piac commented 10 years ago

This should already work in the last release. Please let me know if you notice that there's anything strange or that does not work. Thanks, Giulio