Importing from Another Path
kens at sightreader.com
Sun Jul 29 19:09:48 EDT 2001
Peter Mayne <Peter.Mayne at au1.ibm.com> wrote:
> > Ype Kingma wrote:
> > > > sys.path.append("..\\common")
> > Actually I just meant that it wasn't portable between Windows and Linux
> > because I'm using backslashes in the path.
> Windows is perfectly happy to accept "/" in a filename path. Try
> However, this won't help when someone runs the script on an OS that
> accept either form.
Is there any OS that python runs on that doesn't support "/" ?
And ".." ?
Are there any major new operating systems currently in development that
are silly enough not to support these?
More information about the Python-list