Can one Python project use both 2.x and 3.x code?
Posted
by Begbie00
on Stack Overflow
See other posts from Stack Overflow
or by Begbie00
Published on 2010-06-01T17:43:11Z
Indexed on
2010/06/01
18:03 UTC
Read the original article
Hit count: 412
Hi all -
I'm going to start on a long (~1-year) programming project in Python. I want to use wxPython for my GUI (supports 2.6), but I also want to use 3.1 for the rest of the project (to start using the 3.x syntax).
Is there any way for me to design a project that mixes 2.x and 3.x modules? Or should I just bite the bullet and use either 2.x (preferred, since I really want to learn wxPython) or 3.x throughout?
Thanks,
Mike
© Stack Overflow or respective owner