How to fill a form

2006-08-14 Thread Sulsa
I need to fill form from web site, the code for this form looks like this: I can of course connect to a web site and download the form, i do it like this: import urllib2 www = urllib2.urlopen("http://www.site.com/login.php";) form_data= stronka.read() or using httplib: import httplib

Re: How to fill a form

2006-08-14 Thread Sulsa
On Tue, 15 Aug 2006 03:22:40 +0100 Steve Holden <[EMAIL PROTECTED]> wrote: > I'd recommend you take a look at mechanize, see > >http://wwwsearch.sourceforge.net/mechanize/ > > and specifically at ClientForm, see > >http://wwwsearch.sourceforge.net/ClientForm/ > > These make it easy to

Re: How to fill a form

2006-08-14 Thread Sulsa
On Tue, 15 Aug 2006 03:37:02 - Grant Edwards <[EMAIL PROTECTED]> wrote: > On 2006-08-15, Sulsa <[EMAIL PROTECTED]> wrote: > > > I want to fill only one smiple form so i would like not to use > > any non standard libraries. > > Then just send the HTTP

Re: Python is overtaking Perl

2007-09-03 Thread Sulsa
On Tue, 04 Sep 2007 00:32:23 - Ben <[EMAIL PROTECTED]> wrote: > Here are the statistics from Google Trends: > > http://benyang22a.blogspot.com/2007/09/perl-vs-python.html > This chart is showing that amount of python programers is smaller every year :( -- http://mail.python.org/mailman/lis

Parser module

2007-02-03 Thread Sulsa
Is there some way to tell parser module (parser.suite function) not to stop parsing after it have found some syntax error but to proceed with parsing and construct the abstract syntax tree for rest of the code. -- http://mail.python.org/mailman/listinfo/python-list

Dlaczego ten destruktor nie dziala

2007-02-04 Thread Sulsa
Mam klase A po ktorej dziedziczy B i jesli w destruktorze klasy B wywolam: self.__class__.__bases__[0].__del__(self) to wszytkos jest ok, i destruktor klasy a jest wywolywany, jesli natomiast napisze: A.__del__(self) to otrzymuje nastepujacy wyjatek: Exception exceptions.AttributeError: "'NoneTy

Re: Dlaczego ten destruktor nie dziala

2007-02-04 Thread Sulsa
sorry, wrong group. -- http://mail.python.org/mailman/listinfo/python-list