Real Python: Python's doctest: Document and Test Your Code at Once
Link: https://realpython.com/python-doctest/
Are you interested in writing usage examples for your code that work as documentation and test cases simultaneously? If your answer is yes, then Python’s doctest module is for you. This module provide
Link: https://realpython.com/python-doctest/
Are you interested in writing usage examples for your code that work as documentation and test cases simultaneously? If your answer is yes, then Python’s doctest module is for you. This module provide
Realpython
Python's doctest: Document and Test Your Code at Once – Real Python
In this tutorial, you'll learn how to add usage examples to your code's documentation and docstrings and how to use these examples to test your code. To run your usage examples as automated tests, you'll use Python's doctest module from the standard library.
Zero to Mastery: Python Monthly Newsletter 💻🐍
Link: https://zerotomastery.io/blog/python-monthly-newsletter-october-2022/?utm_source=python-rss-feed
35th issue of the Python Monthly Newsletter! Read by 25,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Link: https://zerotomastery.io/blog/python-monthly-newsletter-october-2022/?utm_source=python-rss-feed
35th issue of the Python Monthly Newsletter! Read by 25,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Zero To Mastery
[October 2022] Python Monthly Newsletter 💻🐍 | Zero To Mastery
35th issue of the Python Monthly Newsletter! Read by 25,000+ Python developers, Andrei covers the most important Python news to keep you sharp & up-to-date.
Python Morsels: SyntaxError: invalid syntax
Link: https://www.pythonmorsels.com/syntaxerror-invalid-syntax/
Python's invalid syntax error message comes up often, especially when you're first learning Python. What usually causes this error and how can you fix it?
Table of contents
What is a SyntaxError in
Link: https://www.pythonmorsels.com/syntaxerror-invalid-syntax/
Python's invalid syntax error message comes up often, especially when you're first learning Python. What usually causes this error and how can you fix it?
Table of contents
What is a SyntaxError in
Pythonmorsels
SyntaxError: invalid syntax
Python's "invalid syntax" error message comes up often, especially when you're first learning Python. What usually causes this error and how can you fix it?
Tryton News: Tryton Release 6.6
Link: https://discuss.tryton.org/t/tryton-release-6-6/5632
We are proud to announce the 6.6 release of Tryton.
This release provides many bug fixes, performance improvements and some fine tuning. What is also significant is the addition of 10 new modules a
Link: https://discuss.tryton.org/t/tryton-release-6-6/5632
We are proud to announce the 6.6 release of Tryton.
This release provides many bug fixes, performance improvements and some fine tuning. What is also significant is the addition of 10 new modules a
Tryton Discussion
Tryton Release 6.6
We are proud to announce the 6.6 release of Tryton. This release provides many bug fixes, performance improvements and some fine tuning. What is also significant is the addition of 10 new modules and support for the Ukrainian language. You can give it a…
Django Weblog: Django bugfix release: 4.1.3
Link: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
Today we've issued the 4.1.3 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is
Link: https://www.djangoproject.com/weblog/2022/nov/01/bugfix-release/
Today we've issued the 4.1.3 bugfix release.
The release package and checksums are available from our downloads page, as well as from the Python Package Index. The PGP key ID used for this release is
IslandT: Matplotlib Tutorial — Create a scatter chart
Link: https://islandtropicaman.com/wp/2022/11/01/matplotlib-tutorial-create-a-scatter-chart/
In this Matplotlib example, I am going to create a scatter chart that shows the quantity and the type of shoes I have sold recently. The scatter chart below will show dots that represent the quantity
Link: https://islandtropicaman.com/wp/2022/11/01/matplotlib-tutorial-create-a-scatter-chart/
In this Matplotlib example, I am going to create a scatter chart that shows the quantity and the type of shoes I have sold recently. The scatter chart below will show dots that represent the quantity
Real Python: Python Basics: Scopes
Link: https://realpython.com/courses/python-basics-scopes/
On your Python journey, you’ve probably learned about functions and loops. To fully understand functions and loops in Python, you need to be familiar with the issue of scope.
By the end of this video
Link: https://realpython.com/courses/python-basics-scopes/
On your Python journey, you’ve probably learned about functions and loops. To fully understand functions and loops in Python, you need to be familiar with the issue of scope.
By the end of this video
Realpython
Python Basics: Scopes – Real Python
In this video course, you'll learn what scope is and why it's important to coding functions and loops in Python. You'll also get to know the LEGB rule.
Juri Pakaste: Git worktrees helper
Link: https://juripakaste.fi/worktrees/
I recently became an avid user of Git worktrees. However, the command line interface to them is about as great as Git command line interfaces always are. Just git worktree add is a confusing maze of o
Link: https://juripakaste.fi/worktrees/
I recently became an avid user of Git worktrees. However, the command line interface to them is about as great as Git command line interfaces always are. Just git worktree add is a confusing maze of o
juripakaste.fi
Git worktrees helper
Personal blog of Juri Pakaste
PyCoder’s Weekly: Issue #549 (Nov. 1, 2022)
Link: https://pycoders.com/issues/549
#549 – NOVEMBER 1, 2022 View in Browser » How to Get the First Match From a Python List or Iterable In this tutorial you’ll learn about the best ways to get the first match from a Python list or
Link: https://pycoders.com/issues/549
#549 – NOVEMBER 1, 2022 View in Browser » How to Get the First Match From a Python List or Iterable In this tutorial you’ll learn about the best ways to get the first match from a Python list or
Pycoders
PyCoder’s Weekly | Issue #549
Issue #549 of the PyCoder’s Weekly newsletter, published Nov. 1, 2022.
Python Bytes: #308 Conference season is heating up
Link: https://pythonbytes.fm/episodes/show/308/conference-season-is-heating-up
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=rQgMQH4QWFc' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
Link: https://pythonbytes.fm/episodes/show/308/conference-season-is-heating-up
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=rQgMQH4QWFc' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
pythonbytes.fm
Conference season is heating up
News and announcements from the Python community for the week of Nov 1st, 2022
IslandT: Overrides function in TypeScript
Link: https://islandtropicaman.com/wp/2022/11/02/overrides-function-in-typescript/
Below TypeScript example will show you how to override a function. In order to override a function you will need to provide a function with its parameter of type any and its return value also of type
Link: https://islandtropicaman.com/wp/2022/11/02/overrides-function-in-typescript/
Below TypeScript example will show you how to override a function. In order to override a function you will need to provide a function with its parameter of type any and its return value also of type
IslandT: Python Example — Find the future sum of money with Python
Link: https://islandtropicaman.com/wp/2022/11/02/python-example-find-the-future-sum-of-money-with-python/
In this python example, I will create a simple python function to calculate the compound interest which will then be used to calculate the future sum of money (F) if the present sum of money (P) and t
Link: https://islandtropicaman.com/wp/2022/11/02/python-example-find-the-future-sum-of-money-with-python/
In this python example, I will create a simple python function to calculate the compound interest which will then be used to calculate the future sum of money (F) if the present sum of money (P) and t
PyCharm: How to Debug a Jupyter Notebook in PyCharm
Link: https://blog.jetbrains.com/pycharm/2022/11/how-to-debug-a-jupyter-notebook-in-pycharm/
Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed, worki
Link: https://blog.jetbrains.com/pycharm/2022/11/how-to-debug-a-jupyter-notebook-in-pycharm/
Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed, worki
The JetBrains Blog
How to Debug a Jupyter Notebook in PyCharm | The PyCharm Blog
Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed, worki
Python for Beginners: String Concatenation and Formatting
Link: https://www.pythonforbeginners.com/concatenation/string-concatenation-and-formatting
As a Python programmer, it’s virtually guaranteed that you’ll need to master string concatenation and formatting.
Whether it’s preparing a message that will eventually be read by a user, or writing to
Link: https://www.pythonforbeginners.com/concatenation/string-concatenation-and-formatting
As a Python programmer, it’s virtually guaranteed that you’ll need to master string concatenation and formatting.
Whether it’s preparing a message that will eventually be read by a user, or writing to
PythonForBeginners.com
String Concatenation and Formatting - PythonForBeginners.com
String Concatenation and Formatting will help you improve your python skills with easy to follow examples and tutorials.
John Cook: Python code to solve Kepler’s equation
Link: https://www.johndcook.com/blog/2022/11/02/keplers-equation-python/
The previous post looked at solving Kepler’s equation using Newton’s method. The problem with using Newton’s method is that it may not converge when the eccentricity e is large unless you start very c
Link: https://www.johndcook.com/blog/2022/11/02/keplers-equation-python/
The previous post looked at solving Kepler’s equation using Newton’s method. The problem with using Newton’s method is that it may not converge when the eccentricity e is large unless you start very c
John D. Cook | Applied Mathematics Consulting
Python code to solve Kepler's equation for any eccentricity
Python code to solve Kepler's equation for any eccentricity. Uses Machin's starting point for Newton's method.
David Amos: Method Chaining in Pandas: Bad Form Or a Recipe For Success?
Link: https://davidamos.dev/method-chaining-in-pandas/
This article contains affiliate links. See my affiliate disclosure for more information.
Python trainer Matt Harrison has been creating a bit of a stir.Some of his pandas examples, like the one below
Link: https://davidamos.dev/method-chaining-in-pandas/
This article contains affiliate links. See my affiliate disclosure for more information.
Python trainer Matt Harrison has been creating a bit of a stir.Some of his pandas examples, like the one below
Curious About Code
Method Chaining In Pandas
Bad form or a recipe for success?
Real Python: Should You Update to the Latest Python Bugfix Version?
Link: https://realpython.com/python-bugfix-version/
If you’ve been hanging out in the Python community for a while, you may remember discussions about Python 2 vs Python 3, or you may have seen versions like Python 3.10 and Python 3.11 released with so
Link: https://realpython.com/python-bugfix-version/
If you’ve been hanging out in the Python community for a while, you may remember discussions about Python 2 vs Python 3, or you may have seen versions like Python 3.10 and Python 3.11 released with so
Realpython
Should You Update to the Latest Python Bugfix Version? – Real Python
What's the significance of the third digit in a Python version number? In this tutorial, you'll learn more about Python bugfix versions and whether you need to care about them.
Brett Cannon: Unravelling assignment expressions
Link: https://snarky.ca/unravelling-assignment-expressions/
As part of my series on Python&aposs syntactic sugar, I initially skipped tackling conditional expressions because I made them more complicated than I needed to in my head. 😅 But there is some key sub
Link: https://snarky.ca/unravelling-assignment-expressions/
As part of my series on Python&aposs syntactic sugar, I initially skipped tackling conditional expressions because I made them more complicated than I needed to in my head. 😅 But there is some key sub
Tall, Snarky Canadian
Unravelling assignment expressions
As part of my series on Python's syntactic sugar, I initially skipped tackling assignment expressions because I made them more complicated than I needed to in my head. 😅 But there is some key subtlety to unravelling them which may not be obvious.
Let's start…
Let's start…
Talk Python to Me: #388: Python 3.11 is here and it's fast
Link: https://talkpython.fm/episodes/show/388/python-3.11-is-here-and-its-fast
Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is massi
Link: https://talkpython.fm/episodes/show/388/python-3.11-is-here-and-its-fast
Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is massi
talkpython.fm
Python 3.11 is here and it's fast
Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is massively faster than 3.10 (between 10 to 60% faster) which…
Mike Driscoll: Python 101 - How to Work with CSV files
Link: https://www.blog.pythonlibrary.org/2022/11/03/python-101-how-to-work-with-csv-files/
There are many common file types that you will need to work with as a software developer. One such format is the CSV file. CSV stands for "Comma-Separated Values" and is a text file format that uses a
Link: https://www.blog.pythonlibrary.org/2022/11/03/python-101-how-to-work-with-csv-files/
There are many common file types that you will need to work with as a software developer. One such format is the CSV file. CSV stands for "Comma-Separated Values" and is a text file format that uses a
Mouse Vs Python
Python 101 - How to Work with CSV files - Mouse Vs Python
Learn the basics of working with CSV files using the Python programming language and its handy csv module from the standard library
Python⇒Speed: Good old-fashioned code optimization never goes out of style
Link: https://pythonspeed.com/articles/old-fashioned-software-optimized/
Sometimes, making your Python data processing software faster doesn’t require libraries like NumPy or Pandas, or specialized techniques like vectorization.
In fact, if you’re doing string processing,
Link: https://pythonspeed.com/articles/old-fashioned-software-optimized/
Sometimes, making your Python data processing software faster doesn’t require libraries like NumPy or Pandas, or specialized techniques like vectorization.
In fact, if you’re doing string processing,
Python⇒Speed
Good old-fashioned code optimization never goes out of style
Sometimes the way to speed up your application is a better data structures and more efficient code.