Python Forum
how difficult its to move to Python 3.8 from Python 2.7
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how difficult its to move to Python 3.8 from Python 2.7
#2
It really depends on your project. Start with 2to3, which will do a lot of the tedious work for you, and test thoroughly.

In my experience, half or more of the effort is dealing with bytes vs str. I recommend you use type hinting and mypy to go back and validate those parts of your code.

A lot of people find the migration difficult enough that they've waited this long, so I don't want to suggest that it's going to be easy. I'd love it if you post back here with any findings though, it might inspire a tutorial on doing such a migration.
Reply


Messages In This Thread
RE: how difficult its to move to Python 3.8 from Python 2.7 - by micseydel - Jan-22-2020, 10:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  mouse move event/cinfiguration ttk/python janeik 4 1,303 Jul-03-2023, 05:30 PM
Last Post: deanhystad
  python move specific files from source to destination including duplicates mg24 3 1,230 Jan-21-2023, 04:21 AM
Last Post: deanhystad
  difficult string conversion need help Pir8Radio 3 1,219 Nov-27-2022, 06:15 PM
Last Post: Gribouillis
  python move folders and subfolders not working mg24 5 2,535 Nov-09-2022, 02:24 PM
Last Post: Larz60+
  creating simplex tableau pivot program easy or difficult for a beginner in Python? alex_0 2 2,727 Mar-31-2021, 03:39 AM
Last Post: Larz60+
  How to solve difficult non-linear equations? shreeniket 3 2,522 Apr-23-2020, 01:36 AM
Last Post: shreeniket
  Programming Difficult math in Python Huntern 6 5,015 Oct-17-2019, 06:32 AM
Last Post: Huntern
  Very difficult challenge for me cristfp 1 2,841 Apr-01-2019, 08:45 PM
Last Post: Yoriz
  How can I move in an external program via Python? Pythoner 0 2,349 Dec-29-2018, 12:43 PM
Last Post: Pythoner
  Why is basic Twitter Connectivity So Difficult? Not sure what I'm doing wrong. Oliver 0 1,995 Mar-10-2018, 12:38 PM
Last Post: Oliver

Forum Jump:

User Panel Messages

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