You need to handle the cookie that comes with the server response. Example code:
import urllib2
opener = urllib2.build_opener()
opener.addheaders.append(('Cookie', 'cookiename=cookievalue'))
f = opener.open("http://example.com/";)
--
http://mail.python.org/mailman/listinfo/python-list
You can also add several handlers to your logger with different levels, so that
one Filehandler passes the errors to a log file and StreamHandler passes
messages with a different level to the output stream.
Also by setting the basicConfig of the logger you can format the log messages
so that you
On Wednesday, April 24, 2013 3:52:50 PM UTC+2, Miki Tebeka wrote:
> > I want to use spline interpolation function from SciPy in an application
> > and at the same time, I don't want the end user to have to install SciPy
> > separately. You can pack you application with py2exe, pyinstaller ... and
On Wednesday, April 24, 2013 11:13:45 AM UTC+2, Roozbeh wrote:
> Hi all, I want to use spline interpolation function from SciPy in an
> application and at the same time, I don't want the end user to have to
> install SciPy separately. Is there a way around this problem? Thanks in
On Wednesday, April 24, 2013 11:13:45 AM UTC+2, Roozbeh wrote:
> Hi all, I want to use spline interpolation function from SciPy in an
> application and at the same time, I don't want the end user to have to
> install SciPy separately. Is there a way around this problem? Thanks in
On Wednesday, April 24, 2013 11:13:45 AM UTC+2, Roozbeh wrote: > Hi all, I want
to use spline interpolation function from SciPy in an application and at the
same time, I don't want the end user to have to install SciPy separately. Is
there a way around this problem? Thanks in advance
Hi all,
I want to use spline interpolation function from SciPy in an application and at
the same time, I don't want the end user to have to install SciPy separately.
Is there a way around this problem?
Thanks in advance for your help
--
http://mail.python.org/mailman/listinfo/python-list