> 4. One of the example insets shows Unix users executing generate as
> "generate", when it should read "./generate", or "python2 generate".

Depends on your path - frequently normal users have
current directory as the last part of their path.
This should never be the case for root user.



> 8. The main.py example won't run under python 1.x either, because it imports
> MySQLObjectStore, which has syntax requiring python2.

I think Webware itself won't run under 1.x - even
in the install script there are python2 dependencies.

> 
> BTW, if anybody wants to rewrite main.py for python2, I'd sure appreciate
> it, as I can get on with this business. I don't know what python2's
> equivalent for 1.x's mx.DateTime is, but I'm sure one of you does! :-)

I believe just comment out the import mx line,
and when passing a date, send
"YYYY-MM-DD"
passing a time send
"HH:MM:SS"
and DateTime is:
"YYYY-MM-DD HH:MM:SS"

Of course then you don't use "DateFrom".
you might want to import time and use time.strftime etc.

-- 
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]



_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

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

Reply via email to