On 18/10/15 06:09, Rahul Pathak wrote:
Hi,
I started with python web module and i have no experience with web.
OK, web.py is not part of the standard library and I have no
experience with that specific framework. I also see Peter Otten
has picked up an issue about the urls set. But there's som
Peter Otten wrote:
> The use of {...} makes this a set literal, and the order of the items in a
> set is undefined. To prevent a class of attacks on web applications it may
> even change between invocations:
Sorry, I forgot to include the source of setdemo.py. It contains just one
line:
print {
Rahul Pathak wrote:
> Hi,
>
> I started with python web module and i have no experience with web.
>
> I used the example which is on the web.py site -
>
> --
> import web
>
> urls = {
> '/', 'index'
> }
>
> class index:
> def GET(self):
>
Hi,
I started with python web module and i have no experience with web.
I used the example which is on the web.py site -
--
import web
urls = {
'/', 'index'
}
class index:
def GET(self):
return "Hello World"
if __name__ == "__mai