Real Python: Providing Multiple Constructors in Your Python Classes
Link: https://realpython.com/python-multiple-constructors/
Sometimes you need to write a Python class that provides multiple ways to construct objects. In other words, you want a class that implements multiple constructors. This kind of class comes in handy w
Link: https://realpython.com/python-multiple-constructors/
Sometimes you need to write a Python class that provides multiple ways to construct objects. In other words, you want a class that implements multiple constructors. This kind of class comes in handy w
Realpython
Providing Multiple Constructors in Your Python Classes – Real Python
In this step-by-step tutorial, you'll learn how to provide multiple constructors in your Python classes. To this end, you'll learn different techniques, such as checking argument types, using default argument values, writing class methods, and implementing…
Python Morsels: Dunder Variables
Link: https://www.pythonmorsels.com/topics/dunder-variables/
Have you ever seen a variable in Python that has two underscores on either side of it (__like_this__)?
These are officially referred to as special attributes or special methods, but many Python progra
Link: https://www.pythonmorsels.com/topics/dunder-variables/
Have you ever seen a variable in Python that has two underscores on either side of it (__like_this__)?
These are officially referred to as special attributes or special methods, but many Python progra
Pythonmorsels
Dunder variables
Dunder variables (officially called "special attributes") define a contract between Python programmers and the Python interpreter.
Python Software Foundation: We are hiring contract developers to build new features in PyPI
Link: http://pyfound.blogspot.com/2022/02/we-are-hiring-contract-developers-to.html
The Python Software Foundation has funding available for designing, developing and deploying organization accounts in PyPI.PyPI is the official repository of Python packages. PyPI allows users to sear
Link: http://pyfound.blogspot.com/2022/02/we-are-hiring-contract-developers-to.html
The Python Software Foundation has funding available for designing, developing and deploying organization accounts in PyPI.PyPI is the official repository of Python packages. PyPI allows users to sear
Blogspot
We are hiring contract developers to build new features in PyPI
The Python Software Foundation has funding available for designing, developing and deploying organization accounts in PyPI. PyPI is the off...
Wingware: Wing Python IDE Version 8.2 - February 16, 2022
Link: https://wingware.com/news/2022-02-16
Wing 8.2 adds additional support for branching, stashing/shelving, and other operations
for Git and Mercurial, improves Extract Function/Method refactoring, fixes display
of some data types in the Sou
Link: https://wingware.com/news/2022-02-16
Wing 8.2 adds additional support for branching, stashing/shelving, and other operations
for Git and Mercurial, improves Extract Function/Method refactoring, fixes display
of some data types in the Sou
Wingware
Wing Python IDE Version 8.2 - February 16, 2022 - Wing Python IDE
Wing 8.2 adds additional support for branching, stashing/shelving, and other operations
for Git and Mercurial, improves Extract Function/Method refactoring, fixes display
of some data types in the Source Assistant, and makes a number of other improvements…
for Git and Mercurial, improves Extract Function/Method refactoring, fixes display
of some data types in the Source Assistant, and makes a number of other improvements…
Python Bytes: #271 CPython: Async Task Groups in Python 3.11
Link: https://pythonbytes.fm/episodes/show/271/cpython-async-task-groups-in-python-3.11
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=VyUOZFCAku0' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
Link: https://pythonbytes.fm/episodes/show/271/cpython-async-task-groups-in-python-3.11
<p><strong>Watch the live stream:</strong></p>
<a href='https://www.youtube.com/watch?v=VyUOZFCAku0' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>
<p><strong>About the show</strong></p>
pythonbytes.fm
CPython: Async Task Groups in Python 3.11
News and announcements from the Python community for the week of Feb 16th, 2022
Daniel Nouri: Build a nice CLI for your Streamlit apps with Click or Typer
Link: https://danielnouri.org/notes/2022/02/17/build-a-nice-cli-for-your-streamlit-apps-with-click-or-typer
If you're like me, you enjoy creating small apps, demos, and doing
exploratory data science work with Streamlit.
Here's a minimal Streamlit app that displays the contents of an Excel
file in the b
Link: https://danielnouri.org/notes/2022/02/17/build-a-nice-cli-for-your-streamlit-apps-with-click-or-typer
If you're like me, you enjoy creating small apps, demos, and doing
exploratory data science work with Streamlit.
Here's a minimal Streamlit app that displays the contents of an Excel
file in the b
danielnouri.org
Build a nice CLI for your Streamlit apps with Click or Typer — Daniel Nouri's Blog
Matt Layman: Upgrade to Tailwind CSS v3 - Building SaaS with Python and Django #127
Link: https://www.mattlayman.com/blog/2022/upgrade-to-tailwind-css-v3-building-saas-with-python-and-django-127/
In this episode, I upgraded my app to switch from Tailwind CSS v2 to v3. We worked through the migration guide to make all the needed changes to work with v3. Then I upgraded my development tools to m
Link: https://www.mattlayman.com/blog/2022/upgrade-to-tailwind-css-v3-building-saas-with-python-and-django-127/
In this episode, I upgraded my app to switch from Tailwind CSS v2 to v3. We worked through the migration guide to make all the needed changes to work with v3. Then I upgraded my development tools to m
Matt Layman
Upgrade to Tailwind CSS v3 - Building SaaS with Python and Django #127
In this episode, I upgraded my app to switch from Tailwind CSS v2 to v3. We worked through the migration guide to make all the needed changes to work with v3. Then I upgraded my development tools to make Tailwind updates as I develop my templates.
Jaime Buelta: Futures and easy parallelisation
Link: https://wrongsideofmemphis.com/2022/02/17/futures-and-easy-parallelisation/
Here is one small snippet that it’s very useful when dealing with quick scripts that perform slow tasks and can benefit from running in parallel. Enter the Futures Futures are a convenient abstraction
Link: https://wrongsideofmemphis.com/2022/02/17/futures-and-easy-parallelisation/
Here is one small snippet that it’s very useful when dealing with quick scripts that perform slow tasks and can benefit from running in parallel. Enter the Futures Futures are a convenient abstraction
Wrong Side of Memphis
Futures and easy parallelisation
Here is one small snippet that it’s very useful when dealing with quick scripts that perform slow tasks and can benefit from running in parallel. Enter the Futures Futures are a convenient ab…
Python for Beginners: Convert String to Datetime in Python
Link: https://www.pythonforbeginners.com/basics/convert-string-to-datetime-in-python
We normally keep dates in our text files or spreadsheets in the form of strings. While working with date and time in python, we often need to calculate the number of days spent or time spent between t
Link: https://www.pythonforbeginners.com/basics/convert-string-to-datetime-in-python
We normally keep dates in our text files or spreadsheets in the form of strings. While working with date and time in python, we often need to calculate the number of days spent or time spent between t
PythonForBeginners.com
Convert String to Datetime in Python - PythonForBeginners.com
Convert String to Datetime in Python will help you improve your python skills with easy to follow examples and tutorials. Click here to view code examples.
Thomas Guest: Binary search gets a sort key
Link: http://wordaligned.org/articles/binary-search-gets-a-sort-key
Suppose you have an list of distinct elements which has been sorted
and rotated. How would you look up an element within that list?
For example, the list:
[7, 11, 13, 19, 2, 3, 5]
is sorted (the firs
Link: http://wordaligned.org/articles/binary-search-gets-a-sort-key
Suppose you have an list of distinct elements which has been sorted
and rotated. How would you look up an element within that list?
For example, the list:
[7, 11, 13, 19, 2, 3, 5]
is sorted (the firs
wordaligned.org
Binary search gets a sort key
A Word Aligned article posted 2022-02-15, tagged Python, Puzzles.
Abhijeet Pal: We finally switched from WordPress to Django
Link: http://djangocentral.com/switched-from-wordpress-to-django/
With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending to do this switch for a very long time, but
Link: http://djangocentral.com/switched-from-wordpress-to-django/
With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending to do this switch for a very long time, but
Djangocentral
We finally switched from WordPress to Django
With great pleasure, I will like to announce that djangocentral is now powered by Django, and I couldn't be more satisfied with the results. I was intending t
Real Python: Python's zipfile: Manipulate Your ZIP Files Efficiently
Link: https://realpython.com/python-zipfile/
Python’s zipfile is a standard library module intended to manipulate ZIP files. This file format is a widely adopted industry standard when it comes to archiving and compressing digital data. You can
Link: https://realpython.com/python-zipfile/
Python’s zipfile is a standard library module intended to manipulate ZIP files. This file format is a widely adopted industry standard when it comes to archiving and compressing digital data. You can
Realpython
Python's zipfile: Manipulate Your ZIP Files Efficiently – Real Python
In this guided tutorial, you'll learn how to manipulate ZIP files using Python's zipfile module from the standard library. Through hands-on examples, you'll learn how to read, write, compress, and extract files from your ZIP files quickly.
Daniel Roy Greenfeld: More Married
Link: https://daniel.feldroy.com/posts/2022-02-more-married
Audrey and I met in early 2010 and within days were in love. We were married in late 2013. This program calculates how much more we've been married than not married.
For example:
At some point in Nov
Link: https://daniel.feldroy.com/posts/2022-02-more-married
Audrey and I met in early 2010 and within days were in love. We were married in late 2013. This program calculates how much more we've been married than not married.
For example:
At some point in Nov
Daniel Roy Greenfeld
More Married
In honor of Valentine's Day, this script calculates how long you've been married (or other types of relationships) in relation to how long you've known each other
Real Python: The Real Python Podcast – Episode #98: Drawing Fractals With Python and Working With a Weather API
Link: https://realpython.com/podcasts/rpp/98/
Have you been wanting to explore fractals and complex numbers in Python? Would you like to practice working with APIs in Python through a new project? This week on the show, Christopher Trudeau is her
Link: https://realpython.com/podcasts/rpp/98/
Have you been wanting to explore fractals and complex numbers in Python? Would you like to practice working with APIs in Python through a new project? This week on the show, Christopher Trudeau is her
Realpython
Episode #98: Drawing Fractals With Python and Working With a Weather API – The Real Python Podcast
Have you been wanting to explore fractals and complex numbers in Python? Would you like to practice working with APIs in Python through a new project? This week on the show, Christopher Trudeau is here, and he's taking on the task of curating new issues of…
Python Anywhere: Accessing the files API using our new CLI tool
Link: https://blog.pythonanywhere.com/202/
The new release of the pythonanywhere helper scripts package introduces
new commands covering our files API.
Link: https://blog.pythonanywhere.com/202/
The new release of the pythonanywhere helper scripts package introduces
new commands covering our files API.
Ned Batchelder: Why your mock still doesn’t work
Link: https://nedbatchelder.com/blog/202202/why_your_mock_still_doesnt_work.html
In Why your mock doesn’t work, I explained that you have
to mock objects where they are used, not where they are defined. There are
other reasons your mock may be mysteriously failing to capture acti
Link: https://nedbatchelder.com/blog/202202/why_your_mock_still_doesnt_work.html
In Why your mock doesn’t work, I explained that you have
to mock objects where they are used, not where they are defined. There are
other reasons your mock may be mysteriously failing to capture acti
Nedbatchelder
Why your mock still doesn’t work
If your mocks aren’t working, it might be because mocks are slippery. Make them strict.
Python for Beginners: Repeat Each Element in a List in Python
Link: https://www.pythonforbeginners.com/lists/repeat-each-element-in-a-list-in-python
In python, we use lists for various tasks. We have already discussed various operations on lists like counting the frequency of elements in a list or reversing a list. In this article, we will discuss
Link: https://www.pythonforbeginners.com/lists/repeat-each-element-in-a-list-in-python
In python, we use lists for various tasks. We have already discussed various operations on lists like counting the frequency of elements in a list or reversing a list. In this article, we will discuss
PythonForBeginners.com
Repeat Each Element in a List in Python - PythonForBeginners.com
Repeat Each Element in a List in Python will help you improve your python skills with easy to follow examples and tutorials.
Programming Ideas With Jake: Subscript Operator Overloading: Python vs Kotlin
Link: https://programmingideaswithjake.wordpress.com/2022/02/19/subscript-operator-overloading-python-vs-kotlin/
Kotlin and Python both provide operator overloading in order to do object[index] lookups. Let's look at how each language uses these.
Link: https://programmingideaswithjake.wordpress.com/2022/02/19/subscript-operator-overloading-python-vs-kotlin/
Kotlin and Python both provide operator overloading in order to do object[index] lookups. Let's look at how each language uses these.
Programming Ideas With Jake
Subscript Operator Overloading: Python vs Kotlin
Kotlin and Python both provide operator overloading in order to do object[index] lookups. Let’s look at how each language uses these.
The Digital Cat: From Docker CLI to Docker Compose
Link: https://www.thedigitalcatonline.com/blog/2022/02/19/from-docker-cli-to-docker-compose/
In this post I will show you how and why Docker Compose is useful, building a simple application written in Python that uses PostgreSQL. I think it is worth going through such an exercise to see how t
Link: https://www.thedigitalcatonline.com/blog/2022/02/19/from-docker-cli-to-docker-compose/
In this post I will show you how and why Docker Compose is useful, building a simple application written in Python that uses PostgreSQL. I think it is worth going through such an exercise to see how t
Thedigitalcatonline
From Docker CLI to Docker Compose
A hands-on post that shows how to build a system with Docker and which problems Docker Compose solves
PyPy: PyPy v7.3.8: release of python 2.7, 3.7, 3.8, and 3.9
Link: https://www.pypy.org/posts/2022/02/pypy-v738-release.html
PyPy v7.3.8: release of python 2.7, 3.7, and 3.8-beta
The PyPy team is proud to release version 7.3.8 of PyPy. It has been only a few
months since our last release, but we have some nice speedups and
Link: https://www.pypy.org/posts/2022/02/pypy-v738-release.html
PyPy v7.3.8: release of python 2.7, 3.7, and 3.8-beta
The PyPy team is proud to release version 7.3.8 of PyPy. It has been only a few
months since our last release, but we have some nice speedups and
PyPy
PyPy v7.3.8: release of python 2.7, 3.7, 3.8, and 3.9
PyPy v7.3.8: release of python 2.7, 3.7, 3.8, and 3.9-beta
The PyPy team is proud to release version 7.3.8 of PyPy. It has been only a few
months since our last release, but we have some nice speedups
The PyPy team is proud to release version 7.3.8 of PyPy. It has been only a few
months since our last release, but we have some nice speedups