Warning: The magic method OCDI\OneClickDemoImport::__wakeup() must have public visibility in /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php on line 128 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /customers/2/5/a/novainstitute.ca/httpd.www/wp-content/plugins/one-click-demo-import-deactivated/inc/OneClickDemoImport.php:128) in /customers/2/5/a/novainstitute.ca/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1831 {"id":588,"date":"2018-09-10T00:27:37","date_gmt":"2018-09-09T23:27:37","guid":{"rendered":"https:\/\/www.novainstitute.ca\/?p=588"},"modified":"2018-09-10T03:14:39","modified_gmt":"2018-09-10T02:14:39","slug":"python-2-vs-python-3","status":"publish","type":"post","link":"https:\/\/www.novainstitute.ca\/python-2-vs-python-3\/","title":{"rendered":"Python 2 vs Python 3"},"content":{"rendered":"
\n
One of the first things you will notice when you get started with Python its that there are two versions out there, Python 2 and Python 3<\/span><\/span>. As you may have guessed Python 3 is the newest version, and it fixes fundamental design flaws in Python 2. It is already 10 years old so why does not everybody use it yet? The main reason is that Python 3 is not backwards compatible. <\/span>Anyone working on projects with a codebase in Python 2 would <\/span><\/span>probably<\/span><\/span> want to stay with Python 2 rather than convert their code to Python 3<\/span><\/span>.<\/span><\/div>\n<\/div>\n
\n
\u00a0<\/span><\/div>\n<\/div>\n

So which one is right for you?<\/span><\/h3>\n
\n
\u00a0<\/span><\/div>\n<\/div>\n
\n
If you are <\/span>just<\/span><\/span> getting started with Python <\/span>I suggest<\/span><\/span> you go with Python 3. <\/span>If you are working on legacy code you may want to stay with Python 2.x for now (support ends in 2020), but for any other reason you should go with Python 3<\/span><\/span>.<\/span><\/div>\n<\/div>\n\n \n \n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t<\/span>\n\t\t\t\t<\/div>\n\t\t\t\t

Python 3 adoption rate 2017<\/h3>\n\t\t\t\t
53\u00a0%\u00a0of\u00a0developers\u00a0reported\u00a0to\u00a0be\u00a0using\u00a0Python\u00a03\u00a0and\u00a047\u00a0%\u00a0were\u00a0still\u00a0using\u00a0Python\u00a02\u00a0according\u00a0to\u00a0Developer\u00a0Ecosystem\u00a0Survey\u00a02017<\/div>\n\t\t\t<\/div>\n\t\t\n \n

 <\/p>\n

Some fundamental changes in Python 3<\/h4>\n