Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'example:': 0.03; 'subject:text': 0.05; 'subject:code': 0.07; 'mercurial': 0.09; 'nice!': 0.09; 'pages.': 0.09; 'subject:Source': 0.09; '24,': 0.16; 'great!': 0.16; 'sidebar.': 0.16; 'url:file': 0.16; 'url:py': 0.16; 'wrote:': 0.18; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'sends': 0.24; 'source': 0.25; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'code': 0.31; 'there.': 0.32; 'option': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'date:': 0.34; "i'd": 0.34; 'case,': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.37; 'thank': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'skip:_ 30': 0.39; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'numbers': 0.61; 're:': 0.63; 'such': 0.63; 'email name:python-list': 0.65; 'click': 0.77; 'as:': 0.81; '9:02': 0.84; 'text/plain': 0.84; 'url:cpython': 0.84; '2013': 0.98 X-TMN: [9b6fS8ym4kEuVCVvwH2lGB+2cppQFHRp] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: "python-list@python.org" Subject: RE: Source code as text/plain Date: Sat, 25 May 2013 07:12:05 +0300 Importance: Normal In-Reply-To: References: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 25 May 2013 04:12:05.0688 (UTC) FILETIME=[0444D380:01CE58FE] 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: 36 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369455128 news.xs4all.nl 16002 [2001:888:2000:d::a6]:59517 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45958 Oh great! Thank you!=0A= =0A= ________________________________=0A= > Date: Fri=2C 24 May 2013 21:06:05 -0700 =0A= > Subject: Re: Source code as text/plain =0A= > From: clp2@rebertia.com =0A= > To: carlosnepomuceno@outlook.com =0A= > CC: python-list@python.org =0A= > =0A= > =0A= > On May 24=2C 2013 9:02 PM=2C "Carlos Nepomuceno" =0A= > > =0A= > wrote: =0A= > > =0A= > > I'd like to have the option to download the source code as text/plain = =0A= > from the docs.python.org pages. =0A= > > =0A= > > For example: when I'm a docs page=2C such as: =0A= > > =0A= > > http://docs.python.org/2/library/string.html =0A= > > =0A= > > and I click the source code link I'm taken to a Mercurial page: =0A= > > =0A= > > http://hg.python.org/cpython/file/2.7/Lib/string.py =0A= > > =0A= > > but over there there's no way to get a clean text/plain version of =0A= > the code because the line numbers are included. =0A= > > =0A= > > A link to the text/plain version on that page would be nice! =0A= > =0A= > It's already there. Click the "raw" link in the sidebar. In this case=2C = =0A= > at this moment=2C it sends you to =0A= > http://hg.python.org/cpython/raw-file/f4981d8eb401/Lib/string.py = =