![Real Python](/img/default-banner.jpg)
- 650
- 9 128 398
Real Python
United States
Registrace 22. 05. 2013
Python tutorials and training videos for Pythonistas that go beyond the basics.
đđ Get free Python tips and programming tutorials at realpython.com
Hey, Iâm Dan Bader and I help Python developers take their coding skills and productivity to the next level. Iâm an independent software engineer, author, and speaker. Iâve been developing software for 15 years-and Iâd love to help you become a more proficient Python coder.
On this channel youâll get new Python videos and screencasts every week. Theyâre bite-sized and to the point so you can fit them in with your day and pick up new Python skills on the side:
âș Free Python Articles & Tutorials: realpython.com
âș Listen to the Real Python Podcast: realpython.com/podcast
đđ Get free Python tips and programming tutorials at realpython.com
Hey, Iâm Dan Bader and I help Python developers take their coding skills and productivity to the next level. Iâm an independent software engineer, author, and speaker. Iâve been developing software for 15 years-and Iâd love to help you become a more proficient Python coder.
On this channel youâll get new Python videos and screencasts every week. Theyâre bite-sized and to the point so you can fit them in with your day and pick up new Python skills on the side:
âș Free Python Articles & Tutorials: realpython.com
âș Listen to the Real Python Podcast: realpython.com/podcast
Python Doesn't Round Numbers the Way You Might Think | Real Python Podcast #211
Does Python round numbers the same way you learned back in math class? You might be surprised by the default method Python uses and the variety of ways to round numbers in Python. Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects.
đ Links from the show: realpython.com/podcasts/rpp/211/
Christopher discusses his recent video course, "Rounding Numbers in Python." He covers rounding bias and how to avoid introducing it into your dataset. We dig into the various rounding strategies and how to implement them in Python.
We also share several other articles and projects from the Python community, including a news roundup, a fast Python linter for error-free and maintainable code, the decline of the user interface, more thoughts on Python in Excel, a discussion about calendar versioning for Python, a financial database as a Python module, and a project to prettify the colors of your terminal user interfaces.
This episode is sponsored by Sentry.
Topics:
- 00:00:00 -- Introduction
- 00:02:06 -- NumPy 2.0.0 Release Notes
- 00:02:52 -- Python 3.13.0 beta 3 released
- 00:03:05 -- Announcing the PSF Board Candidates for 2024!
- 00:03:27 -- Prohibiting Outlook Email Domains
- 00:04:31 -- Ruff: A Python Linter for Error-Free and Maintainable Code
- 00:09:31 -- Sponsor: Sentry
- 00:10:35 -- The Decline of the User Interface
- 00:19:14 -- My Thoughts on Python in Excel
- 00:26:30 -- Rounding Numbers in Python
- 00:30:53 -- Video Course Spotlight
- 00:32:13 -- PEP 2026: Calendar Versioning for Python
- 00:42:37 -- Financial Database as a Python Module
- 00:45:34 -- prettypretty: Build Awesome Terminal User Interfaces
- 00:47:48 -- Thanks and goodbye
đ Links from the show: realpython.com/podcasts/rpp/211/
đ Links from the show: realpython.com/podcasts/rpp/211/
Christopher discusses his recent video course, "Rounding Numbers in Python." He covers rounding bias and how to avoid introducing it into your dataset. We dig into the various rounding strategies and how to implement them in Python.
We also share several other articles and projects from the Python community, including a news roundup, a fast Python linter for error-free and maintainable code, the decline of the user interface, more thoughts on Python in Excel, a discussion about calendar versioning for Python, a financial database as a Python module, and a project to prettify the colors of your terminal user interfaces.
This episode is sponsored by Sentry.
Topics:
- 00:00:00 -- Introduction
- 00:02:06 -- NumPy 2.0.0 Release Notes
- 00:02:52 -- Python 3.13.0 beta 3 released
- 00:03:05 -- Announcing the PSF Board Candidates for 2024!
- 00:03:27 -- Prohibiting Outlook Email Domains
- 00:04:31 -- Ruff: A Python Linter for Error-Free and Maintainable Code
- 00:09:31 -- Sponsor: Sentry
- 00:10:35 -- The Decline of the User Interface
- 00:19:14 -- My Thoughts on Python in Excel
- 00:26:30 -- Rounding Numbers in Python
- 00:30:53 -- Video Course Spotlight
- 00:32:13 -- PEP 2026: Calendar Versioning for Python
- 00:42:37 -- Financial Database as a Python Module
- 00:45:34 -- prettypretty: Build Awesome Terminal User Interfaces
- 00:47:48 -- Thanks and goodbye
đ Links from the show: realpython.com/podcasts/rpp/211/
zhlĂ©dnutĂ: 332
Video
Working With Constants in Python
zhlĂ©dnutĂ 792PĆed 6 hodinami
This is a preview of the video course, "Defining Python Constants for Code Maintainability." In programming, the term constant refers to names representing values that donât change during a programâs execution. Constants are a fundamental concept in programming, and Python developers use them in many cases. However, Python doesnât have a dedicated syntax for defining constants. In practice, Pyt...
Creating a Guitar Synthesizer & Generating WAV Files With Python | Real Python Podcast #210
zhlĂ©dnutĂ 619PĆed 20 hodinami
What techniques go into synthesizing a guitar sound in Python? What higher-level programming and Python concepts can you practice while building advanced projects? This week on the show, we talk with Real Python author and core team member Bartosz ZaczyĆski about his recent step-by-step project, Build a Guitar Synthesizer: Play Musical Tablature in Python. đ Links from the show: realpython.com/...
Starting to Build a GUI in Python With PyQt
zhlĂ©dnutĂ 1,1KPĆed 22 hodinami
This is a preview of the video course, "Build a GUI Calculator With PyQt and Python." Even though web and mobile applications appear to have taken over the software development market, thereâs still demand for traditional graphical user interface (GUI) desktop applications. If youâre interested in building these kinds of applications in Python, then youâll find a wide variety of libraries to ch...
Python's Command-Line Utilities & Music Information Retrieval Tools | Real Python Podcast #208
zhlĂ©dnutĂ 726PĆed 14 dny
What are the built-in Python modules that can work as useful command-line tools? How can these tools add more functionality to Windows machines? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects. đ Links from the show: realpython.com/podcasts/rpp/209/ Christopher shares an article by Trey Hunner about Python's extensive collectio...
Introduction to Rounding Numbers in Python
zhlĂ©dnutĂ 499PĆed 14 dny
This is a preview of the video course, "Rounding Numbers in Python." Understanding how rounding works in Python can help you avoid biasing your dataset. This is an important skill. After all, drawing conclusions from biased data can lead to costly mistakes. This is a portion of the complete course, which you can find here: realpython.com/courses/rounding-numbers-python/ The rest of the course c...
Detecting Outliers in Your Data With Python | Real Python Podcast #208
zhlĂ©dnutĂ 815PĆed 21 dnem
How do you find the most interesting or suspicious points within your data? What libraries and techniques can you use to detect these anomalies with Python? This week on the show, we speak with author Brett Kennedy about his book "Outlier Detection in Python." đ Links from the show: realpython.com/podcasts/rpp/208/ Brett describes initially getting involved with detecting outliers in financial ...
Using Python to List the files in a Directory
zhlĂ©dnutĂ 800PĆed 21 dnem
This is a preview of the video course, "Listing All Files in a Directory With Python." Getting a list of all the files and folders in a directory is a natural first step for many file-related operations in Python. When looking into it, though, you may be surprised to find various ways to go about it. This is a portion of the complete course, which you can find here: realpython.com/courses/effic...
Decomposing Software Problems & Avoiding the Trap of Clever Code | Real Python Podcast #207
zhlĂ©dnutĂ 682PĆed 28 dny
How do you effectively break a software problem into individual steps? What are signs you're writing overly clever code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects. đ Links from the show: realpython.com/podcasts/rpp/207/ We discuss an article about de-warping images of book pages. We both found the piece a good study on de...
Python Interfaces - Understanding Informal Interfaces
zhlĂ©dnutĂ 1,8KPĆed mÄsĂcem
This is a preview of the video course, "Python Interfaces: Object-Oriented Design Principles." Interfaces play an important role in software engineering. As an application grows, updates and changes to the code base become more difficult to manage. More often than not, you wind up having classes that look very similar but are unrelated, which can lead to some confusion. This is a portion of the...
Building Python Unit Tests & Exploring a Data Visualization Gallery | Real Python Podcast #206
zhlĂ©dnutĂ 1,1KPĆed mÄsĂcem
How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects. đ Links from the show: realpython.com/podcasts/rpp/206/ We dig into a recent tutorial by Leodanis Pozo Ramos about writing unit tests using Python's unitte...
Working With Python's Iterators, Iterables, and Iteration
zhlĂ©dnutĂ 910PĆed mÄsĂcem
This is a preview of the video course, "Efficient Iterations With Python Iterators and Iterables." Pythonâs iterators and iterables are two different but related tools that come in handy when you need to iterate over a data stream or container. Iterators power and control the iteration process, while iterables typically hold data that you want to iterate over one value at a time. This is a port...
Start Working With Python's Tkinter GUI Framework
zhlĂ©dnutĂ 969PĆed mÄsĂcem
This is a preview of the video course, "Building a Python GUI Application With Tkinter." Python has a lot of GUI frameworks, but Tkinter is the only framework thatâs built into the Python standard library. Tkinter has several strengths. Itâs cross-platform, so the same code works on Windows, macOS, and Linux. Visual elements are rendered using native operating system elements, so applications b...
Considering Accessibility & Assistive Tech as a Python Developer | Real Python Podcast #205
zhlĂ©dnutĂ 586PĆed mÄsĂcem
What's it like to learn Python as a visually impaired or blind developer? How can you improve the accessibility of your Python web applications and learn current guidelines? This week on the show, Real Python community member Audrey van Breederode discusses her programming journey, web accessibility, and assistive technology. đ Links from the show: realpython.com/podcasts/rpp/205/ Audrey shares...
HTML Basics for Python Developers
zhlĂ©dnutĂ 956PĆed mÄsĂcem
This is a preview of the video course, "HTML and CSS Foundations for Python Developers." If youâre interested in web development with Python, then knowing HTML and CSS will help you understand web frameworks like Django and Flask better. But even if youâre just getting started with Python, HTML and CSS can enable you to create small websites to impress your friends. This is a portion of the com...
Querying OpenStreetMaps via API & Lazy Evaluation in Python | Real Python Podcast #204
zhlĂ©dnutĂ 672PĆed mÄsĂcem
Querying OpenStreetMaps via API & Lazy Evaluation in Python | Real Python Podcast #204
Methods to Flatten a List of Lists in Python
zhlĂ©dnutĂ 1KPĆed mÄsĂcem
Methods to Flatten a List of Lists in Python
Embarking on a Relaxed and Friendly Python Coding Journey | Real Python Podcast #203
zhlĂ©dnutĂ 706PĆed 2 mÄsĂci
Embarking on a Relaxed and Friendly Python Coding Journey | Real Python Podcast #203
Using Global Variables in Python Functions
zhlĂ©dnutĂ 1,2KPĆed 2 mÄsĂci
Using Global Variables in Python Functions
Pydantic Data Validation & Python Web Security Practices | Real Python Podcast #202
zhlĂ©dnutĂ 821PĆed 2 mÄsĂci
Pydantic Data Validation & Python Web Security Practices | Real Python Podcast #202
Working With Scopes Practice: Python Basics Exercises
zhlĂ©dnutĂ 884PĆed 2 mÄsĂci
Working With Scopes Practice: Python Basics Exercises
Decoupling Systems to Get Closer to the Data | Real Python Podcast #201
zhlĂ©dnutĂ 741PĆed 2 mÄsĂci
Decoupling Systems to Get Closer to the Data | Real Python Podcast #201
Understanding Python's raise for Crafting Exceptions
zhlĂ©dnutĂ 874PĆed 2 mÄsĂci
Understanding Python's raise for Crafting Exceptions
Avoiding Error Culture and Getting Help Inside Python | Real Python Podcast #200
zhlĂ©dnutĂ 671PĆed 2 mÄsĂci
Avoiding Error Culture and Getting Help Inside Python | Real Python Podcast #200
Leveraging Documents and Data to Create a Custom LLM Chatbot | Real Python Podcast #199
zhlĂ©dnutĂ 870PĆed 3 mÄsĂci
Leveraging Documents and Data to Create a Custom LLM Chatbot | Real Python Podcast #199
Working with Tensors and TensorFlow
zhlĂ©dnutĂ 1,1KPĆed 3 mÄsĂci
Working with Tensors and TensorFlow
Build a Video Game With Python Turtle & Visualize Data in Seaborn | Real Python Podcast #198
zhlĂ©dnutĂ 599PĆed 3 mÄsĂci
Build a Video Game With Python Turtle & Visualize Data in Seaborn | Real Python Podcast #198
Hunting for Python Easter Eggs - Code Conversation
zhlĂ©dnutĂ 419PĆed 3 mÄsĂci
Hunting for Python Easter Eggs - Code Conversation
Using Python in Bioinformatics and the Laboratory | Real Python Podcast #197
zhlĂ©dnutĂ 801PĆed 3 mÄsĂci
Using Python in Bioinformatics and the Laboratory | Real Python Podcast #197
why not use IPython?
Lack of native windows support makes this a non-starter.
I didn't know you could make a 15 min video about constants.
Thanks
Thanks a lot for making this video.
We can also make use of the `typing.Final` type annotation to indicate a variable is not supposed to be change. Type checkers will raise an error message if the variable is reassigned, redefined, or overridden. While this cannot stop any change in run-time, it certainly helps identify such unintended behaviour early in compile-time.
This is the clearest, best tutorial I have come across. Thank you very much..
Constants are a lie in Python. Every variable is reassignable.
Good day greetings
Thanks
Great video, simple and explanatory. You forgot to mention how the pickle is not a true copy
good to know!
Came here for the same question! Iâm a total extrovert with 7 yrs of sales experience. I want to shift to becoming a software engineer.
great video
I made these changes to the code in my end. from functools import reduce instead of val['age'], I had to use val.age. Only then it worked
đđ»
thanks a lot
The word you're looking for is "gooey," spelled GUI. Nobody has ever heard of this gee-you-eye thingie you're talking about, and you come off sounding both weird and iggerant.
Thanks Christopher !
đđ
Thumbs up for your hard work and dedication!
4:47 You get 1.0, not 1 :)
đ
This is an important course because rounding numbers doesnt make sense in python! I was shocked to find there is no function to perform swedish rounding. Even if they think its not a good idea to use this rounding method a function should be available in one of the foundational packages.
Who are the 2 guys presenting the topic in the video? It's an unbelievable good presentation and explanation of the topic! Did you guys do any other video tutorials or content? Where can i find it?
Work with Python in Windows is laughable đ€·ââ
Thanks for the video. Where is the GIL follow-up video? Couldn't find in the channel.
This really helps to see how to use pickle. Thanks so much for making this video. It would be nice if you might include this code into a github repository.
it's not pp8 it's pEp8
Thank you for making this video! You explained the information so clearly and I was able to follow along very easily as a new Python student. :)
It's kinda cringe to have one person who has all the answers and the other pretends like he doesn't know and asks questions. Could you all just chat normally without having any one of you pretend like he doesn't know the topic at all?
đ
đ
đđ
Check out Illinois Mono
Criminally underrated. What a succinct explanation for a library.
Good evening
Thank you for the eye-opener guide
Thank a lot I understand now
Good topic and this is podcast how do we know the real tutorial in screen. Please guide me
All the links from the show: realpython.com/podcasts/rpp/206/
đđ
Thanks for sharing this amazing tutorial †@Real python
Thank you. It is clear concise and helpful
Really good explanation, thanks
It looks like if you create a local variable in a function and return it to the main, that it becomes a global ?
Not bad đ
Finally caught up to this podcast. I use to listen to a lot of your videos to keep my motivation up. Until I slacked off and its been almost a year. Now I'm reviewing all the notes I took so I can proceed where I left off.
Youre a hero
this really sucks!!! I have learned python beyond these limits what offer this PySimpleGUI.
great talk
I can see why he is biased.....His cert was a bogus 10 question exam. Ib addituib, most people graduate college and the only skill they've developed is how to cheat their way through school. .