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.

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


How to Flatten a List of Lists in Python

In this tutorial, you'll learn how to flatten a list of lists in Python. You'll use different tools and techniques to accomplish this task. First, you'll use a loop along with the .extend() method of list. Then you'll explore other tools, including reduce(), sum(), itertools.chain(), and more:

realpython.com/python-flatten-list


Effective Jinja Templating

With Jinja, you can build rich templates that power the front end of your web applications. But you can use Jinja without a web framework running in the background. Anytime you want to create text files with programmatic content, Jinja can help you out:

realpython.com/courses/jinja-templating


⚡Wanna Shape the Future Developer Trends?
Sponsored

Which platforms and apps are your favorite? What have you stopped using and what are your pain points? Take part in the most complete survey Developer Nations has ever created, shape the key trends among developers for 2023 and let us donate to charity on behalf of you! Upon completion you will get free access to our Virtual Goody Bag and you’ll enter amazing prize draws!

Start Here


Why Are Membership Tests So Fast for range() in Python?

In Python, range() is most commonly used in for loops. However, ranges have some other use cases too, as they share many properties with lists. In this tutorial, you'll explore why it's so fast to perform a membership test on a Python range:

realpython.com/python-range-membership-test


The Real Python Podcast – Episode #162: Exploring the Zen of Python & pandas Features for Finance

What advice can you extract from the Zen of Python? How can these nineteen guiding principles help you write more idiomatic Python? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects:

realpython.com/podcasts/rpp/162


Find the Best Backend Jobs, Without the Hassle
Sponsored

Trusted by 2000+ developers from 120+ countries. Proxify provides software developers with an effortless, fast, and reliable way to find dream remote jobs. Join the most developer-friendly network today and start working on engagements with Top clients in the USA & EU.

Click Here to Apply Now


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

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, June 24, 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's raise: Effectively Raising

🐍 New Python tutorials on Real Python

Tuesday, June 20, 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 May 2023 May

🐍 New Python tutorials on Real Python

Monday, June 12, 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 the NumPy Random Number Generator In

🐍 New Python tutorials on Real Python

Saturday, June 3, 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: Choosing the Best Coding Font for Programming

🐍 New Python tutorials on Real Python

Saturday, May 27, 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: How to Launch an HTTP Server in One Line of

You Might Also Like

Weekend Reading — More time to write

Sunday, November 24, 2024

More Time to Write A fully functional clock that ticks backwards, giving you more time to write. Tech Stuff Martijn Faassen (FWIW I don't know how to use any debugger other than console.log) People

🕹️ Retro Consoles Worth Collecting While You Still Can — Is Last Year's Flagship Phone Worth Your Money?

Saturday, November 23, 2024

Also: Best Outdoor Smart Plugs, and More! How-To Geek Logo November 23, 2024 Did You Know After the "flair" that servers wore—buttons and other adornments—was made the butt of a joke in the

JSK Daily for Nov 23, 2024

Saturday, November 23, 2024

JSK Daily for Nov 23, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React E-Commerce App for Digital Products: Part 4 (Creating the Home Page) This component

Not Ready For The Camera 📸

Saturday, November 23, 2024

What (and who) video-based social media leaves out. Here's a version for your browser. Hunting for the end of the long tail • November 23, 2024 Not Ready For The Camera Why hasn't video

Daily Coding Problem: Problem #1617 [Easy]

Saturday, November 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. You are given an string representing the initial conditions of some dominoes.

Ranked | The Tallest and Shortest Countries, by Average Height 📏

Saturday, November 23, 2024

These two maps compare the world's tallest countries, and the world's shortest countries, by average height. View Online | Subscribe | Download Our App TIME IS RUNNING OUT There's just 3

⚙️ Your own Personal AI Agent, for Everything

Saturday, November 23, 2024

November 23, 2024 | Read Online Subscribe | Advertise Good Morning. Welcome to this special edition of The Deep View, brought to you in collaboration with Convergence. Imagine if you had a digital

Educational Byte: Are Privacy Coins Like Monero and Zcash Legal?

Saturday, November 23, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 23, 2024? The HackerNoon

🐍 New Python tutorials on Real Python

Saturday, November 23, 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: Black Friday Giveaway @ Real Python This Black

Re: Hackers may have stolen everyone's SSN!

Saturday, November 23, 2024

I wanted to make sure you saw Incogni's Black Friday deal, which is exclusively available for iPhone Life readers. Use coupon code IPHONELIFE to save 58%. Here's why we recommend Incogni for