Real Python - 🐍 New Python tutorials on Real Python

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:


Basic Input and Output in Python

In this tutorial, you'll learn how to take user input from the keyboard with the input() function built into Python and display output to the console with the built-in function print(). You'll also use readline to improve the user experience when collecting input and effectively format output:

realpython.com/python-input-output


Handling or Preventing Errors in Python: LBYL vs EAFP

In this video course, you'll learn about two popular coding styles in Python: Look Before You Leap (LBYL) and Easier to Ask Forgiveness than Permission (EAFP). You can use these styles to deal with errors and exceptional situations in your code. You'll dive into the discussion on LBYL vs EAFP in Python:

realpython.com/courses/handling-preventing-errors-lbyl-eafp


ZenRows
Sponsored by ZenRows

Discover how to extract public data at scale with a 98.7% average success rate by integrating ZenRows’ web scraper API with your Python script. This complete web scraping toolkit is powered by anti-bot and CAPTCHA handlers, auto-rotating residential proxies, cloud-based scalable browsers, and everything else you need to avoid getting blocked.

Click Here to Learn More


Expression vs Statement in Python: What's the Difference?

In this tutorial, you'll explore the differences between an expression and a statement in Python. You'll learn how expressions evaluate to values, while statements can cause side effects. You'll also explore the gray areas between them, which will enhance your Python programming skills:

realpython.com/python-expression-vs-statement


The Real Python Podcast – Episode #231: Good Python Programming Practices When New to the Language

What advice would you give to someone moving from another language to Python? What good programming practices are inherent to the language? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects:

realpython.com/podcasts/rpp/231


Accelerate Edge Devices with High-Performance AI Power
Sponsored by Intel Corporation

Experience the power of Edge AI—delivering lightning-fast, real-time processing where it matters. Optimize your applications to push performance and accuracy beyond limits with Intel’s OpenVINO toolkit.

Explore and Build


Quiz: Reading and Writing Files in Python

A quiz used for testing the user's knowledge of the topics covered in the Reading and Writing Files in Python article:

realpython.com/quizzes/read-write-files-python


Using raise for Effective Exceptions

In this video course, you'll learn how to raise exceptions in Python, which will improve your ability to efficiently handle errors and exceptional situations in your code. This way, you'll write more reliable, robust, and maintainable code:

realpython.com/courses/using-raise-for-effective-exceptions


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 3,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

⏰ Cyber Monday Flash Sale (ending midnight UTC)

Tuesday, December 3, 2024

Hey there, You're on our list because you're serious about Python, not marketing fluff. So here's the deal: • Today only, get $100 off your first year of Real Python • Unlock access to 4700

🐍 New Python tutorials on Real Python

Saturday, November 30, 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: Speed Up Your Python Program With Concurrency In

Black Friday Giveaway @ Real Python

Thursday, November 28, 2024

Hey there, Just wanted to let you know that we're doing a special giveaway for Black Friday this week at Real Python 🎁🎉 You can get Python education resources worth over $1210, including three

🐍 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

🐍 New Python tutorials on Real Python

Saturday, November 16, 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: Take Your Python Skills to the Next Level with

You Might Also Like

ChatGPT can analyze your spending

Friday, March 28, 2025

YouTube TV price hike 📈; Viral 'dumbphone'; TV deals -- YouTube TV price hike; Viral 'dumbphone'; Amazon TV deals -- ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Hacker Newsletter #739

Friday, March 28, 2025

In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. //Douglas Adams hackernewsletter Issue #739 // 2025-03-28 // View in your

⚙️ What IBM is doing in Albany

Friday, March 28, 2025

Plus: OpenAI's court loss ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Warning: Mozilla Patches Critical Firefox Bug Similar to Chrome's Recent Zero-Day Vulnerability

Friday, March 28, 2025

THN Daily Updates Newsletter cover Digitally Curious: Your Guide to Navigating the Future of AI and All Things Tech ($17.00 Value) FREE for a Limited Time A straightforward and accessible explainer of

Post from Syncfusion Blogs on 03/28/2025

Friday, March 28, 2025

New blogs from Syncfusion ® Introducing the New .NET MAUI Toolbar Control By Jeyasri Murugan This blog explains the features of the new .NET MAUI Toolbar control introduced in the 2025 Volume 1 release

🙅🏼‍♂️ The Google Play Store Has a Big Problem — This Tiny and Rare Sony CRT Is My Holy Grail

Friday, March 28, 2025

Also: Linux Windowing Systems: Is Wayland Good in 2025? How-To Geek Logo March 28, 2025 Did You Know The names of the Japanese cities Kyoto and Tokyo, the former and current capitals of the country,

The Sequence Research #520: SEARCH-R1 Integrates Search Engines Directly in LLMs for Better Problem Solving

Friday, March 28, 2025

The technique Showed Us that We Can Augment Reasoning with Search for Better Problem Solving in LLMs ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

SWLW #644: The price of distinctiveness, High Agency in 30min, and more.

Friday, March 28, 2025

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

React Native Newsletter Issue 187

Thursday, March 27, 2025

Featured: React Native Worklets, LegendKit CLI, React Native Survey results. and more! Issue 187 • Open in browser React Native Newsletter This issue: React Native Worklets, LegendKit CLI, React Native

📱 Issue 456 - WWDC25 is June 9-13

Thursday, March 27, 2025

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 456 Release Date Mar 27, 2025 Your weekly report of the most popular iOS news, articles and projects Popular