Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'third- party': 0.04; 'subject:Python': 0.06; 'urllib2': 0.07; 'utf-8': 0.07; 'lawrence': 0.09; 'subject:using': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; '24,': 0.16; 'renamed': 0.16; 'subject:login': 0.16; 'url:peps': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'instead.': 0.24; 'url:dev': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'script': 0.25; 'logging': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'sep': 0.31; 'subject:website': 0.31; 'there.': 0.32; 'url:python': 0.33; 'sense': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'url:org': 0.36; 'should': 0.36; 'that,': 0.38; 'new': 0.61; 'from:charset:utf-8': 0.61; 'first': 0.61; 'making': 0.63; 'skip:\xe2 10': 0.65; 'to:addr:gmail.com': 0.65; 'online': 0.71; '8bit%:43': 0.74; 'url:tk': 0.95; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=GB4WGivGcPe5cHPtsz1Hamd0WWPaJ0rqKJMMq98H0do=; b=FfvAdepY/80/VquG5WnXMhB8SBVOtCb2C2vn01ztgVVx+YZcHNF++klfbKwC0dWpe/ goKGtm92n/J+suotA8zDUdbX8a5KNcRlA1MTtlBqYkxDNMtLX5V66fmtadyb7ptNnDMd iHADnkI/b9W8CeWUZ95xkoCWqHcK5KM5mHnj0XUacBZC2rZJDsNRm5+iz4+qs846hJDK b3l+ystWS6JJOMhy6yE/omJ0CM1taJNh6oF63KurOV8t8P/LpaahTSeta88E7vRgHpk+ D4bI76EQnXklib3n6vC1VGXhGIlOcRQS7z/l/BedNXwVFvOnMw+SkEfNpPYwfWuoC8xe E/Vw== MIME-Version: 1.0 X-Received: by 10.43.82.69 with SMTP id ab5mr1058321icc.95.1380117556879; Wed, 25 Sep 2013 06:59:16 -0700 (PDT) In-Reply-To: <51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com> References: <51fe830b-faa9-4a43-a247-9c4e25500430@googlegroups.com> Date: Wed, 25 Sep 2013 15:59:16 +0200 Subject: Re: How to login to a website using Python 3.x? From: =?UTF-8?B?Q2hyaXMg4oCcS3dwb2xza2HigJ0gV2Fycmljaw==?= To: Osumo Clement Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1380117560 news.xs4all.nl 16005 [2001:888:2000:d::a6]:38976 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54730 On Tue, Sep 24, 2013 at 10:39 AM, Mark Lawrence w= rote: > 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 (a third-party package) instead. --=20 Chris =E2=80=9CKwpolska=E2=80=9D Warrick PGP: 5EAAEA16 stop html mail | always bottom-post | only UTF-8 makes sense