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


Groups > comp.lang.python > #45958

RE: Source code as text/plain

From Carlos Nepomuceno <carlosnepomuceno@outlook.com>
Subject RE: Source code as text/plain
Date 2013-05-25 07:12 +0300
References <CAMZYqRQjsoKxU25Wt3gWefumTh=_sFogf38B9z4vGXrQXcFCgQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2106.1369455128.3114.python-list@python.org> (permalink)

Show all headers | 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