Re: [Tutor] i just cant do it

2006-09-17 Thread Ivan Shevanski
(if I'm getting this right)Think of it as saving file 'hello.txt' in /usr/bin/some_random_folder_you_madeThen in the terminal, you try to open the file by typing 'gedit hello.txt'.  It has no idea where to look. [I'm a noob too, so if I got it wrong don't flame me too bad ;)   ]On 9/17/06, Alan Ga

Re: [Tutor] i just cant do it

2006-09-17 Thread Alan Gauld
> When i try this it works > > #!/usr/bin/python > > import Cookie > C = Cookie.SimpleCookie() > C['adminuser'] = 'fedekiller' > C['adminuser']['max-age'] = 60*60*24*7 > print C > print "Content-Type: text/html\n\n" > print "Bienvenido",C['adminuser'].value,'!' > > > but when i try this it does

Re: [Tutor] i just cant do it

2006-09-17 Thread Kent Johnson
federico ramirez wrote: > well, im very angry :( > I cant get this to work > > When i try this it works > > #!/usr/bin/python > > import Cookie > C = Cookie.SimpleCookie() > C['adminuser'] = 'fedekiller' > C['adminuser']['max-age'] = 60*60*24*7 > print C > print "Content-Type: text/html\n\n" > p

Re: [Tutor] i just cant do it

2006-09-17 Thread Luke Paireepinart
federico ramirez wrote: > well, im very angry :( > I cant get this to work > > When i try this it works > > #!/usr/bin/python > > import Cookie > C = Cookie.SimpleCookie() > C['adminuser'] = 'fedekiller' > C['adminuser']['max-age'] = 60*60*24*7 > print C > print "Content-Type: text/html\n\n" > prin

[Tutor] i just cant do it

2006-09-17 Thread federico ramirez
well, im very angry :(I cant get this to workWhen i try this it works#!/usr/bin/pythonimport CookieC = Cookie.SimpleCookie()C['adminuser'] = 'fedekiller'C['adminuser']['max-age'] = 60*60*24*7 print Cprint "Content-Type: text/html\n\n"print "Bienvenido",C['adminuser'].value,'!'but when i try this it