Python Forum
changing much of my Python code
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
changing much of my Python code
#4
If this is python 2 code that you want to convert to python 3, use the 2to3 utility. It will remove the unnecessary __future__ imports and probably keep the rest of the code working. Note that __future__ imports still exist in python 3.
Reply


Messages In This Thread
changing much of my Python code - by Skaperen - Apr-28-2019, 08:44 PM
RE: changing much of my Python code - by Skaperen - Apr-29-2019, 03:52 AM
RE: changing much of my Python code - by Gribouillis - Apr-29-2019, 06:56 AM
RE: changing much of my Python code - by Skaperen - Apr-29-2019, 07:01 PM
RE: changing much of my Python code - by DeaD_EyE - Apr-29-2019, 09:58 AM
RE: changing much of my Python code - by Skaperen - May-04-2019, 02:39 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020