Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
py2 to py3 conversion
#2
(May-14-2019, 03:40 PM)Vysero Wrote: few changes when py moved from 2 too 3
More than a few Wink
if old_contents != new_contents:
Not equal !=,<> was rare also in Python 2.
Here a advice from Python 2.2(2001) doc.
Quote:!= is the preferred spelling; <> is obsolescent.
Reply


Messages In This Thread
py2 to py3 conversion - by Vysero - May-14-2019, 03:40 PM
RE: py2 to py3 conversion - by snippsat - May-14-2019, 04:05 PM

Forum Jump:

User Panel Messages

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