Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!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.047 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'attack.': 0.09; 'cc:addr :python-list': 0.11; 'exactly?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject: \n ': 0.16; 'subject:log': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'looks': 0.24; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'external': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'subject:website': 0.31; 'subject:with': 0.35; 'received:google.com': 0.35; 'doing': 0.36; 'pm,': 0.38; 'short': 0.38; 'enough': 0.39; "you're": 0.61; 'mar': 0.68; 'now:': 0.74; 'subject:try': 0.84; 'to:none': 0.92 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:cc :content-type; bh=aJaiNmgsoRiaChOGJURd/Jl0Q5/3RkoPN3N0nt+6Sgw=; b=FpZ89JArJNmI6Uc0uGfUCGrZspp6HHgg5MeVHg03PcdDm9erUuYMtODhJZLvyirCB9 vYjRwOtpWe4q/0XKv5/Aca0xVHqoIrQs6HD7r+Tem2ao7xYufs6jPLe/fdETGbL63o9N IZ7J9/J4khMH5uNufiKmtuQekZraKAOLkKKDTGFTk2Bb/qN4Sz49BZLyCy2vh98ZlrnA 1KqVfytXIpmzxV3wncR5Jp6bsaIhSN7dq7hyd5wwaTTvruF54yziTK2lOuArz2Hc0pZg m3SDvdNR2LgcMlkoh67LxB/7sH+SOTnb3CXr+nmEhUmUVxrP4Tq2V03YeGdlHSrjeRd+ pzxQ== MIME-Version: 1.0 X-Received: by 10.69.25.69 with SMTP id io5mr10749940pbd.22.1393850660618; Mon, 03 Mar 2014 04:44:20 -0800 (PST) In-Reply-To: <1177d930-a3c4-4152-818c-33d5172083f8@googlegroups.com> References: <1177d930-a3c4-4152-818c-33d5172083f8@googlegroups.com> Date: Mon, 3 Mar 2014 23:44:20 +1100 Subject: Re: Iterate through a list and try log in to a website with urllib and re From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393851089 news.xs4all.nl 2934 [2001:888:2000:d::a6]:50389 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67535 On Mon, Mar 3, 2014 at 11:35 PM, Marcus wrote: > This is the code right now: http://pastebin.com/pE1YZX2K That looks short enough to include in-line, no need to point us to an external site :) So basically, you're doing a dictionary attack. May I ask why you're doing this, exactly? ChrisA