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 Launch an HTTP Server in One Line of Python Code

In this tutorial, you'll learn how to host files with a single command using an HTTP server built into Python. You'll also extend it by making a miniature web framework able to serve dynamic content from HTML templates. Along the way, you'll run CGI scripts and use encryption over HTTPS:

realpython.com/python-http-server


Using k-Nearest Neighbors (kNN) in Python

In this video course, you'll learn all about the k-nearest neighbors (kNN) algorithm in Python, including how to implement kNN from scratch. Once you understand how kNN works, you'll use scikit-learn to facilitate your coding process:

realpython.com/courses/knn-python


Can Postgres Do That?
Sponsored

The answer is often yes! Just Postgres can do a lot. Not a “Postgres compatible” imitation, actual Postgres. Looking for a provider that’s has Postgres experts on staff with no forks or vendor lock-in? We’re here to help and we love Postgres as much as you do.

Get Started for Free


Python's .__call__() Method: Creating Callable Instances

In this tutorial, you'll learn what a callable is in Python and how to create callable instances using the .__call__() special method in your custom classes. You'll also code several examples of practical use cases for callable instances in Python:

realpython.com/python-callable-instances


The Real Python Podcast – Episode #157: Discussing Mojo & Improving Python Object-Oriented Programming

Would you like to speed up your Python machine-learning code dramatically? What if you only had to change a few keywords and add a couple of type hints on portions of your code? This week on the show, Christopher Trudeau is here, bringing another batch of PyCoder's Weekly articles and projects:

realpython.com/podcasts/rpp/157


Check Your Python Code for Security Issues in Seconds
Sponsored

Semgrep is a leading and trusted OSS tool used by top companies like GitLab, Snowflake, and Slack. No security expertise needed, simply add your project and let it scan for free in under a minute!

Scan 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

Key phrases

Older messages

🐍 New Python tutorials on Real Python

Saturday, May 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: Using and Creating Global Variables in Your

🐍 New Python tutorials on Real Python

Saturday, May 13, 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: Build Robust Continuous Integration With

🐍 New Python tutorials on Real Python

Saturday, May 6, 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: SOLID Principles: Improve Object-Oriented

🐍 New Python tutorials on Real Python

Saturday, April 29, 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: Build Your Own Face Recognition Tool With

🐍 New Python tutorials on Real Python

Saturday, April 22, 2023

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. In addition, members of the RP team are at PyCon 2023 in Salt Lake City right now—stop by our

You Might Also Like

New Alpine.js Sort plugin, Laravel 11.5, and more - №510

Sunday, April 28, 2024

Your Laravel week in review ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

This Week's Daily Tip Roundup

Sunday, April 28, 2024

Missed some of this week's tips? No problem. We've compiled all of them here in one convenient place for you to enjoy. Happy learning! iPhoneLife Logo View In Browser Your Tip of the Day is

DeveloPassion's Newsletter #164 - A Thousand Fans

Sunday, April 28, 2024

Edition 164 of my newsletter, discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's

Nobody Likes a Know-It-All: Smaller LLMs are Gaining Momentum

Sunday, April 28, 2024

Phi-3 and OpenELM, two major small model releases this week. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Retro Recomendo: Music

Sunday, April 28, 2024

Recomendo - issue #408 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which