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


Groups > comp.lang.python > #44592 > unrolled thread

to a human - about 2to3

Started by"Jennifer Butler" <J.Butler@albynschool.co.uk>
First post2013-05-01 15:52 +0100
Last post2013-05-02 01:25 +1000
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python


Contents

  to a human - about 2to3 "Jennifer Butler" <J.Butler@albynschool.co.uk> - 2013-05-01 15:52 +0100
    Re: to a human - about 2to3 Paul Rudin <paul.nospam@rudin.co.uk> - 2013-05-01 16:11 +0100
      Re: to a human - about 2to3 Chris Angelico <rosuav@gmail.com> - 2013-05-02 01:25 +1000

#44592 — to a human - about 2to3

From"Jennifer Butler" <J.Butler@albynschool.co.uk>
Date2013-05-01 15:52 +0100
Subjectto a human - about 2to3
Message-ID<mailman.1216.1367420096.3114.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

Hiya

 

I have trawled around your various pages and haven't 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't get it to work.

Could you possibly give me a Noddy's guide to do this? 

 

Thanks in anticipation.

 

Jennifer J

 

[toc] | [next] | [standalone]


#44593

FromPaul Rudin <paul.nospam@rudin.co.uk>
Date2013-05-01 16:11 +0100
Message-ID<87bo8urazu.fsf@no-fixed-abode.cable.virginmedia.net>
In reply to#44592
"Jennifer Butler" <J.Butler@albynschool.co.uk> writes:

> Hiya
>
> I have trawled around your various pages and haven’t 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’t get it to work.
>
> Could you possibly give me a Noddy’s guide to do this?


Perhaps the first thing you should teach your students is how to ask
questions :)

When you say you "can't get it to work" what does that mean? What
exactly did you do? What happened as a result? How did that differ from
what you expected to happen or hoped would happen? Can you construct a
minimal specific example that illustrates your problem?



[toc] | [prev] | [next] | [standalone]


#44594

FromChris Angelico <rosuav@gmail.com>
Date2013-05-02 01:25 +1000
Message-ID<mailman.1217.1367421960.3114.python-list@python.org>
In reply to#44593
On Thu, May 2, 2013 at 1:11 AM, Paul Rudin <paul.nospam@rudin.co.uk> wrote:
> "Jennifer Butler" <J.Butler@albynschool.co.uk> writes:
>
>> Hiya
>>
>> I have trawled around your various pages and haven’t 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’t get it to work.
>>
>> Could you possibly give me a Noddy’s 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web