Real Python: Python Virtual Environments: A Primer
Link: https://realpython.com/python-virtual-environments-a-primer/
Creating a Python virtual environment allows you to manage dependencies separately for different projects, preventing conflicts and maintaining cleaner setups. With Python’s venv module, you can creat
Link: https://realpython.com/python-virtual-environments-a-primer/
Creating a Python virtual environment allows you to manage dependencies separately for different projects, preventing conflicts and maintaining cleaner setups. With Python’s venv module, you can creat
Realpython
Python Virtual Environments: A Primer – Real Python
In this tutorial, you'll learn how to use a Python virtual environment to manage your Python projects. You'll also gain a deep understanding of the structure of virtual environments created with the venv module, as well as the rationale behind using virtual…
Real Python: Python's F-String for String Interpolation and Formatting
Link: https://realpython.com/python-f-strings/
Python f-strings offer a concise and efficient way to interpolate variables, objects, and expressions directly into strings. By prefixing a string with f or F, you can embed expressions within curly b
Link: https://realpython.com/python-f-strings/
Python f-strings offer a concise and efficient way to interpolate variables, objects, and expressions directly into strings. By prefixing a string with f or F, you can embed expressions within curly b
Realpython
Python's F-String for String Interpolation and Formatting – Real Python
Python's f-strings provide a readable way to interpolate and format strings. They're readable, concise, and less prone to error than traditional string interpolation and formatting tools, such as the .format() method and the modulo operator (%). F-strings…
Tryton News: Newsletter December 2024
Link: https://discuss.tryton.org/t/newsletter-december-2024/8074
During the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last Tryton Release 7.4. We also added some new
Link: https://discuss.tryton.org/t/newsletter-december-2024/8074
During the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last Tryton Release 7.4. We also added some new
Tryton Discussion
Newsletter December 2024
During the last month we focused on fixing bugs, improving the behaviour of things, speeding-up performance issues - building on the changes from our last Tryton Release 7.4. We also added some new features which we would like to introduce to you in this…
Real Python: Python Exceptions: An Introduction
Link: https://realpython.com/python-exceptions/
Python exceptions provide a mechanism for handling errors that occur during the execution of a program. Unlike syntax errors, which are detected by the parser, Python raises exceptions when an error o
Link: https://realpython.com/python-exceptions/
Python exceptions provide a mechanism for handling errors that occur during the execution of a program. Unlike syntax errors, which are detected by the parser, Python raises exceptions when an error o
Realpython
Python Exceptions: An Introduction – Real Python
In this beginner tutorial, you'll learn what exceptions are good for in Python. You'll see how to raise exceptions and how to handle them with try ... except blocks.
Real Python: How to Check if a Python String Contains a Substring
Link: https://realpython.com/python-string-contains-substring/
To check if a string contains another string in Python, use the in membership operator. This is the recommended method for confirming the presence of a substring within a string. The in operator is in
Link: https://realpython.com/python-string-contains-substring/
To check if a string contains another string in Python, use the in membership operator. This is the recommended method for confirming the presence of a substring within a string. The in operator is in
Realpython
How to Check if a Python String Contains a Substring – Real Python
In this tutorial, you'll learn the best way to check whether a Python string contains a substring. You'll also learn about idiomatic ways to inspect the substring further, match substrings with conditions using regular expressions, and search for substrings…
Real Python: Python String Formatting: Available Tools and Their Features
Link: https://realpython.com/python-string-formatting/
String formatting is essential in Python for creating dynamic and well-structured text by inserting values into strings. This tutorial covers various methods, including f-strings, the .format() method
Link: https://realpython.com/python-string-formatting/
String formatting is essential in Python for creating dynamic and well-structured text by inserting values into strings. This tutorial covers various methods, including f-strings, the .format() method
Realpython
Python String Formatting: Available Tools and Their Features – Real Python
In this tutorial, you'll learn about the main tools for string formatting in Python, as well as their strengths and weaknesses. These tools include f-strings, the .format() method, and the modulo operator.
Talk Python to Me: #487: Building Rust Extensions for Python
Link: https://talkpython.fm/episodes/show/487/building-rust-extensions-for-python
There has been a lot of changes in the low-level Python space these days. The biggest has to be how many projects have rewritten core performance-intensive sections in Rust. Or even the wholesale adop
Link: https://talkpython.fm/episodes/show/487/building-rust-extensions-for-python
There has been a lot of changes in the low-level Python space these days. The biggest has to be how many projects have rewritten core performance-intensive sections in Rust. Or even the wholesale adop
talkpython.fm
Building Rust Extensions for Python
There has been a lot of changes in the low-level Python space these days. The biggest has to be how many projects have rewritten core performance-intensive sections in Rust. Or even the wholesale adoption of Rust for newer projects such as uv and ruff. On…
PyCharm: The State of Data Science 2024: 6 Key Data Science Trends
Link: https://blog.jetbrains.com/pycharm/2024/12/the-state-of-data-science/
Generative AI and LLMs have been hot topics this year, but are they affecting trends in data science and machine learning? What new trends in data science are worth following? Every year, JetBrains c
Link: https://blog.jetbrains.com/pycharm/2024/12/the-state-of-data-science/
Generative AI and LLMs have been hot topics this year, but are they affecting trends in data science and machine learning? What new trends in data science are worth following? Every year, JetBrains c
The JetBrains Blog
The State of Data Science 2024: 6 Key Data Science Trends | The PyCharm Blog
Uncover the 6 data science trends shaping 2024 and learn about the most popular machine learning trends and big data tools of the year.
Python Engineering at Microsoft: Announcing: Azure Developers – Python Day
Link: https://devblogs.microsoft.com/python/azure-developers-python-day-2024/
We’re thrilled to announce Azure Developers – Python Day! Join us on December 5th for a full day of online training and discover the latest services and features in Azure designed specifically for Pyt
Link: https://devblogs.microsoft.com/python/azure-developers-python-day-2024/
We’re thrilled to announce Azure Developers – Python Day! Join us on December 5th for a full day of online training and discover the latest services and features in Azure designed specifically for Pyt
Microsoft News
Announcing: Azure Developers – Python Day
Join us on December 5th for a full day of online training and discover the latest services and features in Azure designed specifically for Python developers.
Real Python: Basic Input and Output in Python
Link: https://realpython.com/python-input-output/
For a program to be useful, it often needs to communicate with the outside world. In Python, the input() function allows you to capture user input from the keyboard, while you can use the print() func
Link: https://realpython.com/python-input-output/
For a program to be useful, it often needs to communicate with the outside world. In Python, the input() function allows you to capture user input from the keyboard, while you can use the print() func
Realpython
Basic Input and Output in Python – Real Python
In this tutorial, you'll learn how to take user input from the keyboard with the input() function and display output to the console with the print() function. You'll also use readline to improve the user experience when collecting input and to effectively…
Python Bytes: #412 Closing the loop
Link: https://pythonbytes.fm/episodes/show/412/closing-the-loop
<strong>Topics covered in this episode:</strong><br>
<ul>
<li><a href="https://nedbatchelder.com/blog/202411/loop_targets.html?featured_on=pythonbytes"><strong>Loop targets</strong></a></li>
<li><st
Link: https://pythonbytes.fm/episodes/show/412/closing-the-loop
<strong>Topics covered in this episode:</strong><br>
<ul>
<li><a href="https://nedbatchelder.com/blog/202411/loop_targets.html?featured_on=pythonbytes"><strong>Loop targets</strong></a></li>
<li><st
pythonbytes.fm
Closing the loop
News and announcements from the Python community for the week of Dec 2nd, 2024
Real Python: Handling or Preventing Errors in Python: LBYL vs EAFP
Link: https://realpython.com/courses/handling-preventing-errors-lbyl-eafp/
Dealing with errors and exceptional situations is a common requirement in programming. You can either prevent errors before they happen or handle errors after they’ve happened. In general, you’ll have
Link: https://realpython.com/courses/handling-preventing-errors-lbyl-eafp/
Dealing with errors and exceptional situations is a common requirement in programming. You can either prevent errors before they happen or handle errors after they’ve happened. In general, you’ll have
Realpython
Handling or Preventing Errors in Python: LBYL vs EAFP – Real Python
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…
Seth Michael Larson: New era of slop security reports for open source
Link: https://sethmlarson.dev/slop-security-reports?utm_campaign=rss
New era of slop security reports for open source
Link: https://sethmlarson.dev/slop-security-reports?utm_campaign=rss
New era of slop security reports for open source
sethmlarson.dev
New era of slop security reports for open source
I'm on the security report triage team for CPython, pip, urllib3, Requests, and a handful of other open source projects.
I'm also in a trusted position such that I get "tagged in" to other open sou...
I'm also in a trusted position such that I get "tagged in" to other open sou...
PyCoder’s Weekly: Issue #658 (Dec. 3, 2024)
Link: https://pycoders.com/issues/658
#658 – DECEMBER 3, 2024 View in Browser » Django Performance: Scaling and Optimization Performance tuning in the context of Django applications is the practice of enhancing both the efficiency a
Link: https://pycoders.com/issues/658
#658 – DECEMBER 3, 2024 View in Browser » Django Performance: Scaling and Optimization Performance tuning in the context of Django applications is the practice of enhancing both the efficiency a
Pycoders
PyCoder’s Weekly | Issue #658
Issue #658 of the PyCoder’s Weekly newsletter, published Dec. 3, 2024.
Kushal Das: Basedpyright and neovim
Link: https://kushaldas.in/posts/basedpyright-and-neovim.html
Basedpyright is a fork of pyright with
various type checking improvements, improved vscode support and pylance
features built into the language server. It has a list of benefits over Pyright.
In ca
Link: https://kushaldas.in/posts/basedpyright-and-neovim.html
Basedpyright is a fork of pyright with
various type checking improvements, improved vscode support and pylance
features built into the language server. It has a list of benefits over Pyright.
In ca
Python Insider: Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available
Link: https://pythoninsider.blogspot.com/2024/12/python-3131-3128-31111-31016-and-3921.html
Another big release day! Python 3.13.1 and 3.12.8
were regularly scheduled releases, but they do contain a few security
fixes. That makes it a nice time to release the security-fix-only
versions to
Link: https://pythoninsider.blogspot.com/2024/12/python-3131-3128-31111-31016-and-3921.html
Another big release day! Python 3.13.1 and 3.12.8
were regularly scheduled releases, but they do contain a few security
fixes. That makes it a nice time to release the security-fix-only
versions to
Blogspot
Python Insider: Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available
Django Weblog: Help us make it happen ❤️
Link: https://www.djangoproject.com/weblog/2024/dec/04/help-us-make-it-happen/
And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django.
Link: https://www.djangoproject.com/weblog/2024/dec/04/help-us-make-it-happen/
And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django.
Django Project
Help us make it happen ❤️
Posted by Thibaud Colas and Fundraising working group on Dec. 4, 2024
Ned Batchelder: Testing some tidbits
Link: https://nedbatchelder.com/blog/202412/testing_some_tidbits.html
I posted a Python tidbit about checking if a string
consists entirely of zeros and ones:I got a bunch of replies suggesting other ways. I wanted to post those, but I
also wanted to check if they were
Link: https://nedbatchelder.com/blog/202412/testing_some_tidbits.html
I posted a Python tidbit about checking if a string
consists entirely of zeros and ones:I got a bunch of replies suggesting other ways. I wanted to post those, but I
also wanted to check if they were
Nedbatchelder
Testing some tidbits
A custom test harness for some esoteric Python expressions
Real Python: Expression vs Statement in Python: What's the Difference?
Link: https://realpython.com/python-expression-vs-statement/
After working with Python for a while, you’ll eventually come across two seemingly similar terms: expression and statement. When you browse the official documentation or dig through a Python-related t
Link: https://realpython.com/python-expression-vs-statement/
After working with Python for a while, you’ll eventually come across two seemingly similar terms: expression and statement. When you browse the official documentation or dig through a Python-related t
Realpython
Expression vs Statement in Python: What's the Difference? – Real Python
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…
Django Weblog: Django security releases issued: 5.1.4, 5.0.10, and 4.2.17
Link: https://www.djangoproject.com/weblog/2024/dec/04/security-releases/
In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.4,
Django 5.0.10, and
Django 4.2.17.
These releases address the security issues detailed below. We en
Link: https://www.djangoproject.com/weblog/2024/dec/04/security-releases/
In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.4,
Django 5.0.10, and
Django 4.2.17.
These releases address the security issues detailed below. We en
Django Project
Django security releases issued: 5.1.4, 5.0.10, and 4.2.17
Posted by Sarah Boyce on Dec. 4, 2024
👍1