> Chuck Esterbrook wrote:
> >
> > - Got rid of WebwarePathLocation usage. A script always knows where
> > it's at with:
> >     os.path.dirname(os.path.join(os.getcwd(), sys.argv[0]))
>
> That might work.  Good idea.

Whoops, this'll need some work.  On Linux, sys.argv[0] will be different
depending on how the script is launched, either "python Launch.py" or
"./Launch.py".

Jay


_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to