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


Groups > comp.lang.python > #54730

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

References <51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com>
Date 2013-09-25 15:59 +0200
Subject Re: How to login to a website using Python 3.x?
From Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.314.1380117559.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

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

csiph-web