>> sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
>>     

Hi

Side-note: you may want to use os.pardir instead of '..' to be platform 
independent.

I know there are certain cases where __file__ does not work, but I dont 
know the details.

~DR0ID

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to