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


Groups > comp.lang.python > #44595

Re: to a human - about 2to3

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <mail@timgolden.me.uk>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; '2to3': 0.09; 'latter': 0.09; 'quiet': 0.09; 'python': 0.11; 'mostly': 0.14; 'programs.': 0.14; 'thread': 0.14; 'competent': 0.16; 'from:addr:timgolden.me.uk': 0.16; 'from:name:tim golden': 0.16; 'jennifer': 0.16; 'message-id:@timgolden.me.uk': 0.16; 'python- uk': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'subject:2to3': 0.16; 'tjg': 0.16; 'url:python-uk': 0.16; 'wrote:': 0.18; 'written': 0.21; 'help.': 0.21; 'this?': 0.23; 'header:User-Agent:1': 0.23; 'received:192.168.100': 0.24; '(or': 0.24; 'question': 0.24; 'possibly': 0.26; 'least': 0.26; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; 'list:': 0.30; 'ride': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'program,': 0.31; 'posting': 0.31; 'url:python': 0.33; 'could': 0.34; 'problem': 0.35; 'but': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'clear': 0.37; 'to:addr:python-list': 0.38; 'list,': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'url:mail': 0.40; 'read': 0.60; 'conversion': 0.61; 'materials': 0.61; 'new': 0.61; "you're": 0.61; 'skip:n 10': 0.64; 'teaching': 0.64; 'afraid': 0.65; 'charset:windows-1252': 0.65; 'hoping': 0.75; 'from:addr:mail': 0.83; 'country)': 0.84; 'unclear': 0.84; 'can\x92t': 0.91
Date Wed, 01 May 2013 16:27:02 +0100
From Tim Golden <mail@timgolden.me.uk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4
MIME-Version 1.0
To python-list@python.org
Subject Re: to a human - about 2to3
References <3C8565F3435F024E9BB3B36BE06393D80120F355@albyn-exch.albyn-sch.local.co.uk>
In-Reply-To <3C8565F3435F024E9BB3B36BE06393D80120F355@albyn-exch.albyn-sch.local.co.uk>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
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.1218.1367422026.3114.python-list@python.org> (permalink)
Lines 30
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367422026 news.xs4all.nl 15898 [2001:888:2000:d::a6]:48881
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44595

Show key headers only | View raw


On 01/05/2013 15:52, Jennifer Butler wrote:
> I will start teaching Python to my pupils shortly. I have been looking
> for materials and have gathered a collection of programs. The problem is
> they are written in v2 and I have v3 installed in my classroom. I read
> about the 2to3 conversion program, but I can’t get it to work.
> 
> Could you possibly give me a Noddy’s guide to do this?

This might be useful:

  http://python3porting.com/2to3.html

although it's not clear from your question whether you're competent
in Python and just a little unclear on 2to3 or coming new to the
whole thing and hoping that 2to3 will give you a pain-free conversion.

If it's the latter then I'm afraid your ride may be rockier than
you hoped. :(

Also, I note that you're UK-based (albeit at the other end of it from
where I am). Depending on where this thread goes you might get some
local help by posting to the python-uk mailing list:

  http://mail.python.org/mailman/listinfo/python-uk

It's a quiet list, mostly for local events and jobs, but
you might find someone in your neighbourhood (or at least in your own
country) who could give you some help.

TJG

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


Thread

Re: to a human - about 2to3 Tim Golden <mail@timgolden.me.uk> - 2013-05-01 16:27 +0100

csiph-web