I have read the python doc's dealing with scope and it seems straight forward, almost. Still, I haven't caught on yet.
In the file WebKit.cgi, the variable AppWorkDir is initialized with the location of the context directory.
In the context directory I have a file, MyContext.py, that contains code invoked via XML-RPC requests a la the example in Webware.
How do I access or obtain the value of AppWorkDir in the code I have written? As a general form I think of something like this...
mypath = AppWorkDir + "/MyDirectory"
But this is missing something. "self.AppWorkDir"?
Mark Phillips
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss