The method name/class name thing I suspect was at the root of my mysteriously apearing and disapearing modules problem
I had a module, render.py with a class called render: When I changed the module name to 'renderer', all the problems went away. Yet this *does* seem to conflict with the norms of webware coding I think. Perhaps webware is picking it up as a servlet (rather than a base class of other objects) and doing something.. .er.. magical?! namespace whackyness. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." ----George W. Bush On Thu, 15 Apr 2004, deelan wrote: > Shayne ONeill wrote: > > > A simple problem that alot fo the examples use is that theres too much at > > once going on. > > > > none really have the simple "just decend from page and self.writeln() > > your output. self.request() has the form type enviro. Took me a while to > > figure it out. > and don't forget little gotchas like: name your .py file like > the servlet class name, and remember that "Index.py" is different > from "index.py"! this annoys me a lot, a recent PEP 8 update > suggests that module names should be written in lowercase letters, > (no underscores) while classes should be named following CapWords > convention. > > not to mention methodName instead method_name. > > bye. > > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Webware-discuss mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webware-discuss > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
