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
PyCharm: How to Do Sentiment Analysis With Large Language Models
Link: https://blog.jetbrains.com/pycharm/2024/12/how-to-do-sentiment-analysis-with-large-language-models/
Sentiment analysis is a powerful tool for understanding emotions in text. While there are many ways to approach sentiment analysis, including more traditional lexicon-based and machine learning appro
Link: https://blog.jetbrains.com/pycharm/2024/12/how-to-do-sentiment-analysis-with-large-language-models/
Sentiment analysis is a powerful tool for understanding emotions in text. While there are many ways to approach sentiment analysis, including more traditional lexicon-based and machine learning appro
The JetBrains Blog
How to Do Sentiment Analysis With Large Language Models | The PyCharm Blog
Want to predict emotions in text more efficiently? Learn how LLMs can enhance sentiment analysis and discover how to use and fine-tune pre-trained models.
EuroPython Society: EPS Board 2024-2025
Link: https://www.europython-society.org/eps-board-2024-2025/
We’re happy to announce our new board for the 2024-2025 term: Anders Hammarquist Aris NivorilsArtur Czepiel (Chair) Cyril Bitterich Ege Akman Mia Bajić (Vice Chair) Shekhar Koirala You can read more a
Link: https://www.europython-society.org/eps-board-2024-2025/
We’re happy to announce our new board for the 2024-2025 term: Anders Hammarquist Aris NivorilsArtur Czepiel (Chair) Cyril Bitterich Ege Akman Mia Bajić (Vice Chair) Shekhar Koirala You can read more a
EuroPython Society
EPS Board 2024-2025
We’re happy to announce our new board for the 2024-2025 term: Anders Hammarquist Aris NivorilsArtur Czepiel (Chair) Cyril Bitterich Ege Akman Mia Bajić (Vice Chair) Shekhar Koirala You can read more about them in their nomination post at https://www.europython…
Luke Plant: Check if a point is in a cylinder - geometry and code
Link: https://lukeplant.me.uk/blog/posts/check-if-a-point-is-in-a-cylinder-geometry-and-code/
In my current project I’m doing a fair amount of geometry, and one small problem I needed to solve a while back was finding whether a point is inside a cylinder.
The accepted answer for this on math.s
Link: https://lukeplant.me.uk/blog/posts/check-if-a-point-is-in-a-cylinder-geometry-and-code/
In my current project I’m doing a fair amount of geometry, and one small problem I needed to solve a while back was finding whether a point is inside a cylinder.
The accepted answer for this on math.s
Luke Plant's home page
Check if a point is in a cylinder - geometry and code
In my current project I’m doing a fair amount of geometry, and one small problem I needed to solve a while back was finding whether a point is inside a cylinder.
The accepted answer for this on math.s
The accepted answer for this on math.s
Christian Ledermann: Trusted publishing ‐ It has never been easier to publish your python packages
Link: https://dev.to/ldrscke/trusted-publishing-it-has-never-been-easier-to-publish-your-python-packages-3dfn
Publishing Python packages used to be a daunting task, but not any more. Even better, it has become significantly more secure. Gone are the days of juggling usernames, passwords, or API tokens while r
Link: https://dev.to/ldrscke/trusted-publishing-it-has-never-been-easier-to-publish-your-python-packages-3dfn
Publishing Python packages used to be a daunting task, but not any more. Even better, it has become significantly more secure. Gone are the days of juggling usernames, passwords, or API tokens while r
DEV Community
Trusted publishing ‐ It has never been easier to publish your python packages
Publishing Python packages used to be a daunting task, but not any more. Even better, it has become significantly more secure. Gone are the days of juggling usernames, passwords, or API tokens while relying on CLI tools. With trusted publishing, you simply…
Real Python: The Real Python Podcast – Episode #231: Good Python Programming Practices When New to the Language
Link: https://realpython.com/podcasts/rpp/231/
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
Link: https://realpython.com/podcasts/rpp/231/
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
Realpython
Episode #231: Good Python Programming Practices When New to the Language – The Real Python Podcast
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.
Bojan Mihelac: Finding Blocks Across a Wagtail Site
Link: http://code.informatikamihelac.com/en/finding-blocks-across-a-wagtail-site/
Discover how to efficiently locate and update specific blocks across your Wagtail site, even when they're deeply nested.
Link: http://code.informatikamihelac.com/en/finding-blocks-across-a-wagtail-site/
Discover how to efficiently locate and update specific blocks across your Wagtail site, even when they're deeply nested.
Informatikamihelac
Finding Blocks Across a Wagtail Site
PyCon: PyCon US 2025 Registration Launch!
Link: https://pycon.blogspot.com/2024/12/pycon-us-2025-registration-launch.html
The news you’ve been waiting for is finally here - registration for PyCon US 2025 is officially open!PyCon US will take place May 14 - May 22, 2025, in Pittsburgh, Pennsylvania at the David L. Lawrenc
Link: https://pycon.blogspot.com/2024/12/pycon-us-2025-registration-launch.html
The news you’ve been waiting for is finally here - registration for PyCon US 2025 is officially open!PyCon US will take place May 14 - May 22, 2025, in Pittsburgh, Pennsylvania at the David L. Lawrenc
Blogspot
PyCon US 2025 Registration Launch!
The news you’ve been waiting for is finally here - registration for PyCon US 2025 is officially open! PyCon US will take place May 14 - May ...
Real Python: When to Use a List Comprehension in Python
Link: https://realpython.com/list-comprehension-python/
List comprehensions in Python provide a concise way to create lists by embedding a loop and optional conditional logic in a single line. You use a list comprehension to transform and filter elements f
Link: https://realpython.com/list-comprehension-python/
List comprehensions in Python provide a concise way to create lists by embedding a loop and optional conditional logic in a single line. You use a list comprehension to transform and filter elements f
Realpython
When to Use a List Comprehension in Python – Real Python
Python list comprehensions help you to create lists while performing sophisticated filtering, mapping, and conditional logic on their members. In this tutorial, you'll learn when to use a list comprehension in Python and how to create them effectively.
Real Python: Python GUI Programming With Tkinter
Link: https://realpython.com/python-gui-tkinter/
Tkinter is Python’s standard GUI framework, making it convenient for developing graphical user interfaces. As a cross-platform library, Tkinter ensures your applications appear native across Windows,
Link: https://realpython.com/python-gui-tkinter/
Tkinter is Python’s standard GUI framework, making it convenient for developing graphical user interfaces. As a cross-platform library, Tkinter ensures your applications appear native across Windows,
Realpython
Python GUI Programming: Your Tkinter Tutorial – Real Python
Complete an interactive tutorial for Python's GUI library Tkinter. Add buttons, text boxes, widgets, event handlers, and more while building two GUI apps.