On Monday 28 October 2002 16:44, you wrote: > Hi all - > > I'm pretty new to webware and have been following the threads related > to the v 0.8 release which is being worked on. > I wanted to comment on the only thing I've found so far that is a > little bit frustrating about Webware. > > Background: > I'm new to Python also and this may be the problem I'm having adjusting > so if that's it, then I apologize. > I'm coming to Python development from 5 years of Java development doing > J2EE type web based projects in the last 3 years. > > The thing that I find frustrating is the way that files are strewn > about in directories. I find it confusing when trying to locate where > my files are in comparison to webware files and also how to handle > things like multiple directories, etc. >
You probably want to check out the /path/to/webware/bin/MakeAppWorkDir.py utility. With that you can define a working directory for your application. You basicly separate the Webware code from your own application code. Now, when you import a python module, just try to remember that "/path/to/webware" and "/path/to/AppWorkDir" are in your sys.path when running the webware application server. Hope that helps Stephan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
