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!newsfeed2.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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'source.': 0.07; 'subject:Getting': 0.07; 'lookup': 0.09; 'subject:()': 0.09; 'cc:addr:python-list': 0.11; 'sense,': 0.16; 'urllib': 0.16; 'variable.': 0.16; 'wrote:': 0.18; 'aug': 0.22; 'cc:addr:python.org': 0.22; 'this?': 0.23; 'cc:2**0': 0.24; "i've": 0.25; 'source': 0.25; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; '13,': 0.31; 'didnt': 0.31; 'subject:that': 0.31; 'url:python': 0.33; 'problem.': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'area': 0.37; 'pm,': 0.38; 'explain': 0.39; 'url:mail': 0.40; 'how': 0.40; 'to:addr:gmail.com': 0.65; 'joel': 0.91; '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; bh=Em6EGLjP+Bx4pdqPmwb6o1DtWcMkvtvKRhpTWQJq06I=; b=BN9ZlYXO+mBEOSVcWyREKD+/kzYwqmGyNpffuyV+o4hFPY+b1GFkYdJcawmf0xwL05 e11pDbw1Oh8Lal6CC9ckp9zBK/jvOtIlG4LTxxjUgRNZepctSXY9AWOS0gvEigrWgwo6 FTZ20W69LuBsr7VPt8CsWtKsPz0WbLcoBLvx2u12TZaXKuCARJtJc5CSSfQ5zg2xwtS4 fAjGOsEB3jSWbzVN1PPqKBfuHzn+xJrvoAJvFii4NnCnas3kOM6q/tupFWG975flJzG8 osocdDoQeI2R1ky89yL3bOFLE12sS7yiP2ziXogzh2jrvejTPlfV3rNysCZXEA/JTNVO ym2w== MIME-Version: 1.0 X-Received: by 10.52.34.40 with SMTP id w8mr5384474vdi.7.1376434688016; Tue, 13 Aug 2013 15:58:08 -0700 (PDT) In-Reply-To: <40816fed-38d4-4baa-92cc-c80cd8febd82@googlegroups.com> References: <40816fed-38d4-4baa-92cc-c80cd8febd82@googlegroups.com> Date: Tue, 13 Aug 2013 18:58:07 -0400 Subject: Re: Getting a value that follows string.find() From: Joel Goldstick To: englishkevin110@gmail.com Content-Type: text/plain; charset=UTF-8 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376434691 news.xs4all.nl 15968 [2001:888:2000:d::a6]:50119 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52475 lookup urlparse for you answer On Tue, Aug 13, 2013 at 6:51 PM, wrote: > I know the title doesn't make much sense, but I didnt know how to explain my problem. > > Anywho, I've opened a page's source in URLLIB > starturlsource = starturlopen.read() > string.find(starturlsource, '