<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/rpython/best-of/2024/07" -->

---
title: Best Real Python posts — July 2024 | daily.dev
description: The most upvoted Real Python posts from July 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/rpython/best-of/2024/07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/rpython/best-of/2024/07
og:type: website
og:site_name: daily.dev
og:title: Best Real Python posts — July 2024 | daily.dev
og:description: The most upvoted Real Python posts from July 2024, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Real Python — July 2024

1. 1  
[](https://daily.dev/posts/logging-in-python-real-python-jz0sv0dmj "Logging in Python – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python·2y  
Logging in Python – Real Python  
Logging is a crucial practice for Python developers to record relevant information during code execution. Python's standard library includes a powerful logging module that helps in debugging, analyzing performance, and understanding application flow. This guide covers working with the logging module, setting up basic logging configurations, utilizing log levels, formatting log messages, directing log records through handlers, and defining logging rules with filters.  
209  
9
2. 2  
[](https://daily.dev/posts/how-do-you-choose-python-function-names-real-python-w2txragpa "How Do You Choose Python Function Names? – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python·2y  
How Do You Choose Python Function Names? – Real Python  
Choosing names for Python functions can be challenging but is crucial for code readability and maintenance. This piece explains the rules and conventions for naming Python functions according to PEP 8 guidelines. It emphasizes using descriptive names in snake\_case format and touches on the use of underscores to indicate private or special methods. The significance of readability through clear naming is highlighted, along with comparisons to naming variables and classes.  
61  
5
3. 3  
[](https://daily.dev/posts/working-with-json-data-in-python-real-python-iascvmvff "Working With JSON Data in Python – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python·2y  
Working With JSON Data in Python – Real Python  
Learn how to work with JSON data in Python. This tutorial covers understanding JSON syntax, converting Python data to and from JSON, writing and reading JSON files, validating JSON syntax, and both prettifying and minifying JSON data in the terminal.  
60  
1
4. 4  
[](https://daily.dev/posts/python-strings-and-character-data-quiz-real-python-vzvjid689 "Python Strings and Character Data Quiz – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python·2y  
Python Strings and Character Data Quiz – Real Python  
Evaluate your understanding of Python’s string data type with an 11-question quiz. Topics include creating and manipulating strings, string methods, operators, and indexing. Score 1 point per correct answer with no time limit, and aim for a maximum score of 100%. Good luck!  
46  
2
5. 5  
[](https://daily.dev/posts/exercises-course-introduction-to-web-scraping-with-python-real-python-aonyhpdtr "Exercises Course: Introduction to Web Scraping With Python – Real Python")  
Article  
![Avatar of rpython](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/rpython)Real Python·2y  
Exercises Course: Introduction to Web Scraping With Python – Real Python  
Web scraping involves collecting and parsing raw data from the Web. This course covers parsing website data using string methods, regular expressions, and an HTML parser. The course includes 23 lessons, downloadable resources, and a certificate of completion.  
42  
2

[See all Real Python archives](/sources/rpython/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/rpython/best-of/2024/07#page","url":"https://daily.dev/sources/rpython/best-of/2024/07","name":"Best Real Python Posts — July 2024","description":"The most upvoted Real Python posts from July 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/rpython/best-of/2024/07#items","numberOfItems":5,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/logging-in-python-real-python-jz0sv0dmj","name":"Logging in Python – Real Python"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-do-you-choose-python-function-names-real-python-w2txragpa","name":"How Do You Choose Python Function Names? – Real Python"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/working-with-json-data-in-python-real-python-iascvmvff","name":"Working With JSON Data in Python – Real Python"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/python-strings-and-character-data-quiz-real-python-vzvjid689","name":"Python Strings and Character Data Quiz – Real Python"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/exercises-course-introduction-to-web-scraping-with-python-real-python-aonyhpdtr","name":"Exercises Course: Introduction to Web Scraping With Python – Real Python"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Real Python","item":"https://daily.dev/sources/rpython"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/rpython/best-of"},{"@type":"ListItem","position":5,"name":"July 2024"}]}]}
```

