Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (John J. Lee) wrote:
>"No," scolded Yoda. "Do, or do not. There is no try."
Convincing argument against exceptions, don't you think. :)
--
http://mail.python.org/mailman/listinfo/python-list
"itay_k" <[EMAIL PROTECTED]> writes:
> ok.
> i will explain what exactly i wanna do.
>
> i want to simulate the following client-side script with python:
>
>
>
>
> document.cookie="name=tom";
> document.images["Pic"].src="temp2.html"
>
Ah! In which case what you're trying t
ok.
i will explain what exactly i wanna do.
i want to simulate the following client-side script with python:
document.cookie="name=tom";
document.images["Pic"].src="temp2.html"
what that happen here, is when this page loading, the browser loads
"temp2.html" with HTTP header:
Kent Johnson <[EMAIL PROTECTED]> writes:
> itay_k wrote:
> > Hi,
> >
> > I dont understand why this is so complicated, just to add one line of
> > cookie header on the GET request.
> >
> > This is my unworking code:
> > import time
> > import Cookie
> > import cookielib, urllib2
> >
> > c= cook
itay_k wrote:
> Hi,
>
> I dont understand why this is so complicated, just to add one line of
> cookie header on the GET request.
>
> This is my unworking code:
> import time
> import Cookie
> import cookielib, urllib2
>
> c= cookielib.Cookie(1,"Name","Tom", 80,False, "itay", False, False,
> "d:
"itay_k" <[EMAIL PROTECTED]> writes:
> Hi,
>
> I dont understand why this is so complicated, just to add one line of
> cookie header on the GET request.
You haven't said what you're really trying to do.
http://www.catb.org/~esr/faqs/smart-questions.html#goal
> This is my unworking code:
> imp
Hi,
I dont understand why this is so complicated, just to add one line of
cookie header on the GET request.
This is my unworking code:
import time
import Cookie
import cookielib, urllib2
c= cookielib.Cookie(1,"Name","Tom", 80,False, "itay", False, False,
"d:\\asddd",False, False,time.time()+1000