Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'from:addr:yahoo.co.uk': 0.04; 'subject:Python': 0.06; 'urllib2': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:using': 0.09; 'subject:How': 0.10; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'renamed': 0.16; 'subject:login': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'url:dev': 0.24; 'script': 0.25; 'logging': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'subject:website': 0.31; 'there.': 0.32; 'url:python': 0.33; 'subject:?': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'new': 0.61; 'first': 0.61; 'making': 0.63; 'online': 0.71 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: How to login to a website using Python 3.x? Date: Tue, 24 Sep 2013 09:39:07 +0100 References: <51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-31-131.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: <51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380011967 news.xs4all.nl 15970 [2001:888:2000:d::a6]:41560 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54683 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