Beginner needs advice

Chris Angelico rosuav at gmail.com
Sat May 28 02:44:47 EDT 2011


On Sat, May 28, 2011 at 4:38 PM, Thorsten Kampe
<thorsten at thorstenkampe.de> wrote:
> The question is: if you want (or have) to run your code under Python3,
> how likely is that it will run unmodified? My experience is: unless the
> code is especially written with Python3 compatability or just a short
> snippet, it's actually quite unlikely that it will run.
>

But what about the 2to3 tool? If you use that, then how much more is
there to deal with?

I installed Python 3 and found that a little bandwidth monitor stopped
working. After running it through 2to3, there were only a couple of
things needing fixing, including the HTTPS library (it didn't like my
Unicode strings, I had to go b" " for them), but the bulk of it was
fine.

Chris Angelico



More information about the Python-list mailing list