10 examples of using Python in 2020 | Opensource.com

10 examples of using Python in 2020

This year has been unprecedented in recent history, and Python has been in the thick of it.

Hands on a keyboard with a Python book
Image by : 
WOCinTech Chat. Modified by Opensource.com. CC BY-SA 4.0
x

Subscribe now

Get the highlights in your inbox every week.

As in recent years, Python proved a popular programming language in 2020.

Each year, Opensource.com publishes various articles about Python to pique new users' interest and help long-time Pythonistas expand their skills. The following are Opensource.com's top 10 articles about Python in 2020.

  1. If you're confused about which data-plotting library will work for your task, see The 7 most popular ways to plot data in Python.
  2. If you run a community, make some of your regular tasks a little less effortful with 5 scripts for automating basic community management tasks.
  3. No-Ops your way into a website with Build a website with Python tools.
  4. A beginner's guide to web scraping with Python is a hands-on tutorial on extracting data from websites.
  5. Take a look at history and terminology to figure out When to choose C or Python for a command-line interface.
  6. Find out How to connect a Raspberry Pi to a serial USB port with Python from the terminal so your Pi can interface with other devices.
  7. What is duck typing in Python? In Python, if a variable walks like a duck and talks like a duck, then it is a duck. 
  8. Understand your Python code with this open source visualization tool explains how VizTracer visualizes and traces Python code to provide greater insight into how it works.
  9. Learn how highly contagious viruses spread in Using Python to visualize COVID-19 projections.
  10. Inclusion and diversity were on many people's minds in 2020, and one former inmate shares his story in What I learned going from prison to Python.

What was your favorite thing about Python in 2020? And what are you looking forward to in 2021? Please share your thoughts in the comments.

Python programming language logo with question marks

Explore Python (and other programming languages) by writing a "guess the number" game.

About the author

Moshe sitting down, head slightly to the side. His t-shirt has Guardians of the Galaxy silhoutes against a background of sound visualization bars.
Moshe Zadka - Moshe has been involved in the Linux community since 1998, helping in Linux "installation parties". He has been programming Python since 1999, and has contributed to the core Python interpreter. Moshe has been a DevOps/SRE since before those terms existed, caring deeply about software reliability, build reproducibility and other such things. He has worked in companies as small as three people and as big as tens of thousands -- usually some place around where software meets system administration...