logo rip
RIP Tutorial
  • Tags
  • Topics
  • Examples
  • eBooks

Topics

  • topic.Title

Examples

  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title
  • example.Title

Topics

  • Incompatibilities moving from Python 2 to Python 3

Examples

  • Print statement vs. Print function
  • Strings: Bytes versus Unicode
  • Integer Division
  • Reduce is no longer a built-in
  • Differences between range and xrange functions
  • Unpacking Iterables
  • Raising and handling Exceptions
  • .next() method on iterators renamed
  • Comparison of different types
  • User Input
  • Dictionary method changes
  • exec statement is a function in Python 3
  • hasattr function bug in Python 2
  • Renamed modules
  • Octal Constants
  • All classes are "new-style classes" in Python 3.
  • Removed operators <> and ``, synonymous with != and repr()
  • encode/decode to hex no longer available
  • cmp function removed in Python 3
  • Leaked variables in list comprehension
  • map()
  • filter(), map() and zip() return iterators instead of sequences
  • Absolute/Relative Imports
  • File I/O
  • The round() function tie-breaking and return type
  • True, False and None
  • Return value when writing to a file object
  • long vs. int
  • Class Boolean Value

zcb

StackOverflow Profile

profile for zcb at Stack Overflow, Q&A for professional and enthusiast programmers



logo rip
SUPPORT & PARTNERS
  • Advertise with us
  • Contact us
  • Cookie Policy
  • Privacy Policy
STAY CONNECTED

Get monthly updates about new articles, cheatsheets, and tricks.


Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our Cookie Policy and Privacy Policy

Leave this website