Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54682 > unrolled thread

How to login to a website using Python 3.x?

Started byOsumo Clement <osumoclement@gmail.com>
First post2013-09-24 01:09 -0700
Last post2013-09-25 15:59 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  How to login to a website using Python 3.x? Osumo Clement <osumoclement@gmail.com> - 2013-09-24 01:09 -0700
    Re: How to login to a website using Python 3.x? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-09-24 09:39 +0100
    Re: How to login to a website using Python 3.x? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-25 15:59 +0200

#54682 — How to login to a website using Python 3.x?

FromOsumo Clement <osumoclement@gmail.com>
Date2013-09-24 01:09 -0700
SubjectHow to login to a website using Python 3.x?
Message-ID<51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com>
 Hi. I am new to Python. I am making a script where logging in to a website is the first step.. I am using Python 3.3 All of the help I have seen online uses urllib2 which in Python 3 aint there. I will greatly appreciate any help

[toc] | [next] | [standalone]


#54683

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-09-24 09:39 +0100
Message-ID<mailman.287.1380011967.18130.python-list@python.org>
In reply to#54682
On 24/09/2013 09:09, Osumo Clement wrote:
>   Hi. I am new to Python. I am making a script where logging in to a website is the first step.. I am using Python 3.3 All of the help I have seen online uses urllib2 which in Python 3 aint there. I will greatly appreciate any help
>

urllib2 has been renamed in Python 3 see 
http://www.python.org/dev/peps/pep-3108/#urllib-package

-- 
Cheers.

Mark Lawrence

[toc] | [prev] | [next] | [standalone]


#54730

FromChris “Kwpolska” Warrick <kwpolska@gmail.com>
Date2013-09-25 15:59 +0200
Message-ID<mailman.314.1380117559.18130.python-list@python.org>
In reply to#54682
On Tue, Sep 24, 2013 at 10:39 AM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
> On 24/09/2013 09:09, Osumo Clement wrote:
>>
>>   Hi. I am new to Python. I am making a script where logging in to a
>> website is the first step.. I am using Python 3.3 All of the help I have
>> seen online uses urllib2 which in Python 3 aint there. I will greatly
>> appreciate any help
>>
>
> urllib2 has been renamed in Python 3 see
> http://www.python.org/dev/peps/pep-3108/#urllib-package

Note that, for sanity, you should use <http://python-requests.org/> (a
third-party package) instead.

-- 
Chris “Kwpolska” Warrick <http://kwpolska.tk>
PGP: 5EAAEA16
stop html mail | always bottom-post | only UTF-8 makes sense

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web