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!newsfeed4.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.054 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; '2to3': 0.09; 'seemed': 0.09; 'url:faqs': 0.09; 'python': 0.11; 'programs.': 0.14; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'porting': 0.16; 'subject:2to3': 0.16; 'url:catb': 0.16; 'wrote:': 0.18; 'projects,': 0.19; 'thu,': 0.19; 'written': 0.21; 'this?': 0.23; 'fairly': 0.24; 'paul': 0.24; 'possibly': 0.26; 'header:In- Reply-To:1': 0.27; 'installed': 0.27; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'work.': 0.31; 'program,': 0.31; 'writes:': 0.31; 'worked': 0.33; 'could': 0.34; 'problem': 0.35; 'received:209.85': 0.35; 'received:209.85.220': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'read': 0.60; 'conversion': 0.61; 'materials': 0.61; 'first': 0.61; 'here:': 0.62; 'teaching': 0.64; 'teach': 0.65; 'charset:windows-1252': 0.65; 'forward.': 0.84; 'haven\x92t': 0.84; 'can\x92t': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=hHcpXn8cj2bTS/Lk9A+UH7f6R46vvs8HUUHsTC+eNJk=; b=G9DG6ThnWJPlafLxaOqt87gCtIxE14oAuCWcDUo5s2Pk6tQUlRkSOyuxo8LxFxFkt4 5myKY/P0yJUV0qe8mKJfcasnqiPb+qYzgJkCih2Fo0j42iakRDXKZMwWkHjhAaz2NgDG 5WJiyXWQ53D143vQAWyP9WqPcEfxzHVzJm0PAWL4UCEU6brJuujCKmzDUEYdftF4C+Cr musE1oB9BlP2AdP3ul3rCr8NpzW2xwjRIfISqOn93TC3KlCdsnSSYHMDv7Q6GdbcKy9s +q0AEtxd+Dx0hczvGBxTSBw4zMdz3z9tqXkO3E/qBovAPp+YpEYXoJ1t3jZ4eOSFoUlU iq7g== MIME-Version: 1.0 X-Received: by 10.58.15.193 with SMTP id z1mr958825vec.40.1367421951179; Wed, 01 May 2013 08:25:51 -0700 (PDT) In-Reply-To: <87bo8urazu.fsf@no-fixed-abode.cable.virginmedia.net> References: <87bo8urazu.fsf@no-fixed-abode.cable.virginmedia.net> Date: Thu, 2 May 2013 01:25:50 +1000 Subject: Re: to a human - about 2to3 From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1367421960 news.xs4all.nl 15910 [2001:888:2000:d::a6]:48128 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:44594 On Thu, May 2, 2013 at 1:11 AM, Paul Rudin wrote: > "Jennifer Butler" writes: > >> Hiya >> >> I have trawled around your various pages and haven=92t found what I >> want. >> >> 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=92t get it to work. >> >> Could you possibly give me a Noddy=92s guide to do this? > > > Perhaps the first thing you should teach your students is how to ask > questions :) Specifically, you and your students would do well spending a couple of sessions here: http://www.catb.org/esr/faqs/smart-questions.html 2to3 has fairly good --help information. In my porting projects, I started there and worked forward. Seemed to go fairly well. ChrisA