Real Python - 🐍 New Python tutorials on Real Python

Hey there,

There’s always something going on over at realpython.com as far as Python tutorials go.

We've just hit a huge milestone with the Real Python podcast, publishing our 150th episode! A big thank you to our amazing guests and loyal listeners for making this journey unforgettable. Here's to many more exciting conversations about Python and the amazing things it can do!

Here’s what you may have missed this past week:


Executing Python Scripts With a Shebang

In this tutorial, you'll learn when and how to use the shebang line in your Python scripts to execute them from a Unix-like shell. Along the way, you'll run custom scripts written in your domain-specific language interpreted by Python:

realpython.com/python-shebang


Summing Values the Pythonic Way With sum()

In this video course, you'll learn how to use Python's sum() function to add numeric values together. You'll also learn how to concatenate sequences, such as lists and tuples, using sum():

realpython.com/courses/python-sum-function


Build Developer-First Automations with Retool Workflows
Sponsored

Workflows is a visual programming environment that combines custom code and logic blocks to create backend services and recurring tasks, no additional infrastructure required. Connect to any database or API, fetch, filter, and format your data with JS or Python, and take action––even leverage AI steps with our native GPT-4 integration. Workflows is the fastest way to create intelligent, code-first integrations across your entire data stack.

Try Workflows for Free


When Should You Use .__repr__() vs .__str__() in Python?

In this tutorial, you'll learn the difference between the string representations returned by .__repr__() vs .__str__() and understand how to use them effectively in classes that you define:

realpython.com/python-repr-vs-str


The Real Python Podcast – Episode #150: Lessons Learned From Four Years Programming With Python

What are the core lessons you've learned along your Python development journey? What are key takeaways you would share with new users of the language? This week on the show, Duarte Oliveira e Carmo is here to discuss his recent talk, "Four Years of Python.":

realpython.com/podcasts/rpp/150


Clean Python Code Starts in Your IDE With SonarLint
Sponsored

With over 200 rules designed to instantly flag bugs, security hotspots, vulnerabilities, and code smells in your Python code as you type, SonarLint is your Python Clean Code companion. This free and open source extension explains the why behind a flagged issue, helps you assess the risk, and offers to fix it for you, all within you preferred IDE. Jupyter notebooks are also supported, empowering you to write Clean Code wherever you code.

Install Free


PyCoder's Weekly – Get the Latest Python News & Updates

Become a better Pythonista and stay up-to-date with your weekly dose of Python news & projects:

 → pycoders.com or click here to get the latest issue via email


A lot of time and effort goes into the Real Python team bringing you new and in-depth Python tutorials every week.

Please do us a solid and share your favorite Real Python content to help us spread the word.

Thanks for your time and for being a dedicated reader!

— Dan Bader (realpython.com)

Level Up With Unlimited Access to 2,500+ Python Tutorials and Video Lessons => Join Real Python

Make the Leap From Beginner to Intermediate => Get Python Basics: A Practical Introduction to Python 3

Python Tips, Interviews, and More => The Real Python Podcast

Get Help With Your Coding Questions Experts on the RP Team => Real Python Office Hours


Find Your Dream Python Job => Python Job Board

Join the Real Python Team => Tutorial Authors Wanted

A Peer-to-Peer Learning Community for Python Enthusiasts…Just Like You => PythonistaCafe

Give Your Team the Real-World Python Skills They Need to Succeed => Online Python Training for Teams


Older messages

🐍 New Python tutorials on Real Python

Saturday, March 18, 2023

Hey there, Real Python is a proud sponsor of PyCascades Conference and I'm excited to attend in-person again this year, together with Chris Bailey. If you're attending and bump into us, say hi!

🐍 New Python tutorials on Real Python

Saturday, March 11, 2023

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What's a Python Namespace Package, and

🐍 New Python tutorials on Real Python

Saturday, March 4, 2023

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Using NumPy reshape() to Change the Shape of

🐍 New Python tutorials on Real Python

Saturday, February 25, 2023

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Develop Data Visualization Interfaces in

🐍 New Python tutorials on Real Python

Saturday, February 18, 2023

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Python News: What's New From January 2023

You Might Also Like

Dark forest, bad art and paying to bike

Saturday, December 28, 2024

Neologism #24, 28.12.2024 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Weekend Reading — Happy New Year! 🥳

Saturday, December 28, 2024

Vitalis 🇺🇦 The most original and unusual landmark in Odesa, which has become a symbol of the creativity of Odesa residents. Tech Stuff Cursor I really really like Cursor. I had a great time using VS

Daily Coding Problem: Problem #1651 [Hard]

Saturday, December 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Apple. You are going on a road trip, and would like to create a suitable music playlist.

📺 There's Still A Place for Universal Remotes — 10 Apps I Always Install on a New Mac

Saturday, December 28, 2024

Also: How to Add Emails to Your Tasks To-Do List in Gmail, and More! How-To Geek Logo December 28, 2024 Did You Know In December 2014, two con men from Girona, Spain, agreed to sell a fake Francisco de

Ranked | The World's Top 30 Countries, by Automobiles Manufactured 🚙

Saturday, December 28, 2024

In 2023, China led global car production, contributing nearly a third of total output. Which countries followed in this competitive industry? View Online | Subscribe | Download Our App FEATURED STORY

🐍 New Python tutorials on Real Python

Saturday, December 28, 2024

Hey there, There's always something going on over at Real Python as far as Python tutorials go. Here's what you may have missed this past week: Learn From 2024's Most Popular Python

15,000+ Four-Faith Routers Exposed to New Exploit Due to Default Credentials

Saturday, December 28, 2024

THN Daily Updates Newsletter cover Resilient Cybersecurity ($39.99 Value) FREE for a Limited Time Reconstruct your defense strategy in an evolving cyber world Download Now Sponsored LATEST NEWS Dec 28,

Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026

Saturday, December 28, 2024

iPhoneLife Logo Sponsored email sent by iPhone Life Hands Down One Of The Best Cards For 2025 Offering 0% interest until 2026 If you have outstanding credit card debt, getting a new 0% intro APR credit

📧 What Rewriting a 40-Year-Old Project Taught Me About Software Development

Saturday, December 28, 2024

​ What Rewriting a 40-Year-Old Project Taught Me About Software Development Read on: m​y website / Read time: 7 minutes The .NET Weekly is brought to you by: As the year wraps up, it's clear API

This Week in Rust #579

Saturday, December 28, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 579 — 25 DEC 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language