i dont mind them, they save me time and provide consistency. everyone has their own coding style and chosen variable/abbreviations which get annoying.
On Mon, Feb 4, 2013 at 1:03 PM, Stefan Andersson <[email protected]>wrote: > +1 to that :) > > regards > stefan > > > > > On Mon, Feb 4, 2013 at 10:01 PM, Eric Thivierge <[email protected]>wrote: > >> Don't use those damn modules!! They change them and break them whenever >> they feel like. Not to mention, they aren't backwards compatible. >> >> -------------------------------------------- >> Eric Thivierge >> http://www.ethivierge.com >> >> >> On Mon, Feb 4, 2013 at 3:44 PM, Stephen Blair <[email protected]>wrote: >> >>> >>> There's also some stuff in siutils / sipyutils >>> >>> http://download.autodesk.com/global/docs/softimage2013/en_us/sdkguide/files/script_python_WorkingwithCustomPythonModulesinXSI.htm >>> http://xsisupport.com/2010/10/24/python-importing-modules-into-plugins/ >>> >>> >>> >>> >>> On 04/02/2013 3:29 PM, Stefan Andersson wrote: >>> >>> Just to confirm a bit what others has said (with an example) >>> [path] >>> [mylibs] >>> __init_.py >>> coolpython.py >>> >>> # inside softimage >>> import sys >>> sys.path.append("/path/mylibs") >>> import coolpython >>> >>> or >>> [path] >>> [mylibs] >>> __init_.py >>> [ coolpython ] >>> __init__.py >>> >>> # inside softimage >>> import sys >>> sys.path.append("/path/mylibs") >>> import coolpython >>> >>> You might have to also do a reload(coolpython) if you are testing your >>> edits. >>> >>> best of luck >>> stefan andersson >>> >>> >>> >>> On Mon, Feb 4, 2013 at 8:03 PM, Christian Gotzinger < >>> [email protected]> wrote: >>> >>>> Thank you for all the answers guys! I will see which of these solutions >>>> work best for me. >>>> >>>> Cheers >>>> >>>> Christian >>>> >>> >>> >>> >>> -- >>> *Stefan Andersson | Digital Janitor* >>> blog <http://sanders3d.wordpress.com> | >>> showreel<http://vimeo.com/sanders3d>| >>> twitter <http://twitter.com/sanders3d> | >>> LinkedIn<http://www.linkedin.com/in/sanders3d>| cell: >>> +46-73-6268850 | skype:sanders3d >>> >>> >>> >>> >> > > > -- > *Stefan Andersson | Digital Janitor* > blog <http://sanders3d.wordpress.com> | showreel<http://vimeo.com/sanders3d>| > twitter <http://twitter.com/sanders3d> | > LinkedIn<http://www.linkedin.com/in/sanders3d>| cell: > +46-73-6268850 | skype:sanders3d > > >

