Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45958

RE: Source code as text/plain

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 <carlosnepomuceno@outlook.com>
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 <carlosnepomuceno@outlook.com>
To "python-list@python.org" <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 <CAMZYqRQjsoKxU25Wt3gWefumTh=_sFogf38B9z4vGXrQXcFCgQ@mail.gmail.com>
References <CAMZYqRQjsoKxU25Wt3gWefumTh=_sFogf38B9z4vGXrQXcFCgQ@mail.gmail.com>
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2106.1369455128.3114.python-list@python.org> (permalink)
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

Show key headers only | View raw


Oh great! Thank you!

________________________________
> Date: Fri, 24 May 2013 21:06:05 -0700 
> Subject: Re: Source code as text/plain 
> From: clp2@rebertia.com 
> To: carlosnepomuceno@outlook.com 
> CC: python-list@python.org 
>  
>  
> On May 24, 2013 9:02 PM, "Carlos Nepomuceno"  
> <carlosnepomuceno@outlook.com<mailto:carlosnepomuceno@outlook.com>>  
> wrote: 
> > 
> > I'd like to have the option to download the source code as text/plain  
> from the docs.python.org<http://docs.python.org> pages. 
> > 
> > For example: when I'm a docs page, such as: 
> > 
> > http://docs.python.org/2/library/string.html 
> > 
> > and I click the source code link I'm taken to a Mercurial page: 
> > 
> > http://hg.python.org/cpython/file/2.7/Lib/string.py 
> > 
> > but over there there's no way to get a clean text/plain version of  
> the code because the line numbers are included. 
> > 
> > A link to the text/plain version on that page would be nice! 
>  
> It's already there. Click the "raw" link in the sidebar. In this case,  
> at this moment, it sends you to 
> http://hg.python.org/cpython/raw-file/f4981d8eb401/Lib/string.py 		 	   		  

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

RE: Source code as text/plain Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-25 07:12 +0300

csiph-web