open file on mac
tinauser at libero.it
Sun Oct 10 23:29:21 CEST 2010
On Oct 10, 6:54 am, Lawrence D'Oliveiro <l... at geek-
> In message
> <d38a6549-379b-4ece-b391-904e15412... at i21g2000yqg.googlegroups.com>,
> tinauser wrote:
> > now,the file will be opened only if i give the full path, not if i
> > give only the name of the file, although the folder is in the path.
> > what am I missing?
> The fact that sys.path is not used for that.
ok,then could you tell me if there is a way to have the folder of the
module where the "open" command is?
this module is called from C, and user could install the python code
folder (where both the module and the file are) where he wants.
thank you in advance
More information about the Python-list