Python is one of the most popular programming languages for data journalists, and it is useful for scraping websites as well as cleaning and analyzing data. Here are some resources for learning to code in Python.
Datajournalism.com offers this introductory Python tutorial for journalists using Jupyter Notebook taught by Dutch data journalist Winny de Jong.
First Python Notebook is a step-by-step guide to python designed for beginners by Los Angeles Times editor and long-time data journalism Ben Welsh.
Google’s Python Class is a written introduction to basic Python, with instructions on how to set up Python and hands-on exercises.
Learnpython.org has a set of written tutorials with interactive exercises that can be completed online in Python Shell, without downloading Python or a text editor. The lessons cover more topics than Google’s.
Learn Python 3 the Hard Way (2017) by Zed Shaw is an introduction to coding with Python. If purchased directly from the author’s website, the book comes with tutorial videos. (Purchase required)