(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
> 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
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
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
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