Python 2 VS Python 3

Difference between Python 2 and Python 3

  1. Python 2 is now a legacy due to the current version of Python 3 in use.
  2. The print keyword is the build in function in python 3
  3. Developers took time to adopt Python 3 as it was not compatible with Python 2
  4. To overcome the problem of backward compatibility, Python 2.7 was released 2010.
  5. This compatibility support included improved modules for version 2.7 such as Unittest for test automation and Argparse for parsing command line options.
Python 2 vs Python 3

--

--

--

I’m a good husband, father and Senior Developer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Trial & Error: Beginners Guide to Step-Wise Web Design

It Depends #45

How APIs can ease your invoicing process?

Stripe and Quickbooks Integration

Kubernetes security from a Pod PoV

Automating a conference submission workflow: deploying to production

Calculus with Python — Part 1

Explaining the IO models in detail

The Anatomy of a URL: Part 1

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
CodingwithSaud

CodingwithSaud

I’m a good husband, father and Senior Developer.

More from Medium

5 Most Helpful Python Libraries

Tuples in Python