Python articles, tutorials, and news

Python One-Liners You Should Know
Jan 08, 2020 • 5 minutes • 198 views

Python is known for its simplicity. At the same time, it’s fascinating to see how powerful one line of Python code can be sometimes. This article features 5 such one-liners that can do awesome things, or at least save you a few minutes. Python has a built-in module for formatting JSON fil

Major Differences Between Python 2 and Python 3
Jan 01, 2020 • 5 minutes • 56 views

While Python 3 was released in 2009, many developers are still running version 2 — 10 years later. Instagram was running Python 2.7 until recent years (moved to Python 3 in 2017). 1 January 2020 marked the end of life for Python 2, and it has officially retired according to the <a href="" t

Introduction to Scrapy: Web Scraping in Python
Dec 04, 2019 • 20 minutes • 1408 views

Scrapy is an open-source web scraping framework, and it does a lot more than just a library. It manages requests, parses HTML webpages, collects data, and saves it to the desired format. Hence, you don’t need separate libraries for every other step. You can also use middlewares in scrapy. Middlewares are sort of 'plugin