Sulsa wrote:
> 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 "POST" reques
Sulsa wrote:
> 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 "POST" request
Sulsa <[EMAIL PROTECTED]> writes:
> 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 se
Sulsa wrote:
> but i don't know how to post these data if i knew there there would
> be no topic.
http://docs.python.org/lib/module-urllib.html
You want to look at urlopen and urlencode.
But if you mean you don't know what fields and data to use, then you
need a HTML reference, not a Python one
On Monday 14 August 2006 20:43, Sulsa wrote:
> 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
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 "POST" request containing the fields
> an
Sulsa wrote:
> 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/
>>
>>
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 "POST" request containing the fields
and data you want to submit.
--
Grant Edwards grante Yow! LB
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
Sulsa wrote:
> I need to fill form from web site, the code for this form looks like
> this:
>
>
>
> class="post" />
> class="post" />
>
> value="" />
> value="Login" />
>
>
>
> I can of course connect to a web site and download the form, i do it
> like this:
>
> import urllib2
> www =
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
11 matches
Mail list logo