Python articles, tutorials, and news

Web Scraping Without Getting Blocked
Feb 04, 2020 • 8 minutes • 942 views

We often need to prove "I'm not a robot". That's because there are robots on the internet - and there are a lot of them. These bots, or as we fondly call them, spiders get blocked all the time, there’s no news in it. Companies try their best to keep web crawlers out of their websites (unless it’s <a href="https:

Python One-Liners You Should Know
Jan 08, 2020 • 5 minutes • 386 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 • 148 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 • 4645 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