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


Groups > comp.lang.python > #45954

Source code as text/plain

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder5.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 <carlosnepomuceno@outlook.com>
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; 'example:': 0.03; 'subject:text': 0.05; 'subject:code': 0.07; 'mercurial': 0.09; 'nice!': 0.09; 'pages.': 0.09; 'subject:Source': 0.09; 'url:file': 0.16; 'url:py': 0.16; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'source': 0.25; 'subject:/': 0.26; "i'm": 0.30; 'code': 0.31; 'option': 0.32; 'url:python': 0.33; "i'd": 0.34; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'url:org': 0.36; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'numbers': 0.61; 'such': 0.63; 'click': 0.77; 'as:': 0.81; 'text/plain': 0.84; 'url:cpython': 0.84
X-TMN [IQ1r6sLCe7JfiC5QkGtOQmzf3Nq0Mb3d]
X-Originating-Email [carlosnepomuceno@outlook.com]
From Carlos Nepomuceno <carlosnepomuceno@outlook.com>
To "python-list@python.org" <python-list@python.org>
Subject Source code as text/plain
Date Sat, 25 May 2013 06:59:52 +0300
Importance Normal
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 25 May 2013 03:59:52.0285 (UTC) FILETIME=[4F2068D0:01CE58FC]
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.2104.1369454400.3114.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369454400 news.xs4all.nl 15953 [2001:888:2000:d::a6]:52960
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45954

Show key headers only | View raw


I'd like to have the option to download the source code as text/plain from the 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! 		 	   		  

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


Thread

Source code as text/plain Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-25 06:59 +0300
  Re: Source code as text/plain Anssi Saari <as@sci.fi> - 2013-05-28 16:31 +0300

csiph-web