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


Groups > comp.lang.python > #18972

Re: Can someone explain 2to3?

References <CAKoEMEdbNh4Mhgd5z2LL1=KBZGdtP3RBCHLNNLdiHH83avM_qQ@mail.gmail.com>
From Noah Hall <enalicho@gmail.com>
Date 2012-01-14 17:56 +0000
Subject Re: Can someone explain 2to3?
Newsgroups comp.lang.python
Message-ID <mailman.4746.1326563833.27778.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Jan 14, 2012 at 5:06 PM, Joshua Miller <milleja46@gmail.com> wrote:
> Ok i'm trying to convert https://github.com/rdeaton/spyral to python3
> but i'm at a loss on how to actually use 2to3. Can someone explain
> it's proper use to me so i can do the conversion? prefereably where i
> can take "C:\Python32\Lib\site-packages\spyral\" and put it in a new
> directory that i will name "C:\Python32\Lib\site-packages\spyralpy3\"?
> Thanks in advance for the help

Have a read of the docs[0]. 2to3 will convert it to 3, but it may need
more fixes to run as well.

[0] - http://docs.python.org/library/2to3.html

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


Thread

Re: Can someone explain 2to3? Noah Hall <enalicho@gmail.com> - 2012-01-14 17:56 +0000

csiph-web