On Mar 4, 11:50 pm, Branko Vukelic <[email protected]> wrote:
>  web.py is written to run under Python 2.x.

OK thanks for that info.
Following the tutorial on page http://webpy.org/tutorial2.en
I get error:

Traceback (most recent call last):
  File "code.py", line 18, in <module>
    if __name__ == "__main__": web.run(urls, globals())
AttributeError: 'module' object has no attribute 'run'

I know I am invoking Py 2.6 because my script says:

print sys.version
2.6.1 (r261:67515, Jul  7 2009, 23:51:51)

Can anyone tell me how to fix it?

-- Gnarlie

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to