Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: TypeError: can only concatenate str (not “int”) to str

Link: https://itsmycode.com/typeerror-can-only-concatenate-str-not-int-to-str/

In Python, we can concatenate values if they are of the same type. Let’s say if you concatenate a string and an integer you will get TypeError: can only concatenate str (not “int”) to str
In this arti
PyCharm: Free course: Static Sites with Sphinx and Markdown

Link: https://blog.jetbrains.com/pycharm/2022/02/static-sites-with-sphinx/

We are happy to announce the new Static Sites with Sphinx and Markdown Course, resulting from the partnership between PyCharm (through Paul Everitt) and Talk Python. This is a free course that will te
Python⇒Speed: Finding leaked secrets in your Docker image with a scanner

Link: https://pythonspeed.com/articles/docker-secret-scanner/

If you’re not careful, you can end up with a private SSH key, AWS access token, or password embedded in your Docker image.
That means anyone who access the image will be able to get that secret, and p
ItsMyCode: TypeError: ‘builtin_function_or_method’ object is not subscriptable

Link: https://itsmycode.com/builtin-function-or-method-object-is-not-subscriptable/

In Python, Built-in functions are not subscriptable, if we use the built-in functions as an array to perform operations such as indexing, you will encounter TypeError: ‘builtin_function_or_method’ obj
Real Python: Using Python's pip to Manage Your Projects' Dependencies

Link: https://realpython.com/what-is-pip/

The standard package manager for Python is pip. It allows you to install and manage packages that aren’t part of the Python standard library. If you’re looking for an introduction to pip, then you’ve
Python for Beginners: Fibonacci Series In Python

Link: https://www.pythonforbeginners.com/basics/fibonacci-series-in-python

You might have heard about different types of series of numbers. In this article, we will discuss such a series named the Fibonacci series. The Fibonacci series has a lot of significance in financial
ItsMyCode: Python TypeError: ‘float’ object is not callable

Link: https://itsmycode.com/typeerror-float-object-is-not-callable/

The TypeError: ‘float’ object is not callable error occurs if you call floating-point value as a function or if an arithmetic operator is missed while performing the calculations or the reserved keywo
Django Weblog: Could you host DjangoCon Europe 2023?

Link: https://www.djangoproject.com/weblog/2022/feb/03/could-you-host-djangocon-europe-2023/

DjangoCon Europe 2022 will be held from the 21st - 25th September in Porto, Portugal, hopefully, but we're already looking ahead to next year's conference. Could your town - or your football stadium,
Python GUIs: PyQt5 vs PyQt6: What are the differences, and is it time to upgrade?

Link: https://www.pythonguis.com/faq/pyqt5-vs-pyqt6/

If you are already developing Python GUI apps with PyQt5, you might be asking yourself whether it's time to upgrade to PyQt6 and use the latest version of the Qt library. In this article we'll look at
Python for Beginners: Lambda Function In Python

Link: https://www.pythonforbeginners.com/basics/lambda-function-in-python

While programming, we can face several situations where we need to use the same mathematical statement again and again. In such cases, using the same statement multiple times decreases the readability
Matt Layman: Admin Interface For PDFs - Building SaaS with Python and Django #126

Link: https://www.mattlayman.com/blog/2022/admin-interface-for-pdfs-building-saas-with-python-and-django-126/

In this episode, I need tools to inspect some PDF reports that I’m building that customers of my homeschool app will use at the end of the school year. I build the admin tools that allow me to see the
CodersLegacy: Python Object Serialization with Pickle

Link: https://coderslegacy.com/python-object-serialization-with-pickle/

Object Serialization is a fascinating programming concept, that is readily available in Python using the Pickle Library. Pickle provides a set of inbuilt functions and functionality that make dumping
Python Engineering at Microsoft: Python in Visual Studio Code – February 2022 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-february-2022-release/

We are pleased to announce that the February 2022 release of the Python Extension for Visual Studio Code is now available. This release includes:

Smart Selection
Folding support
Improvements to the P
Python Insider: Python 3.11.0a5 is available

Link: https://pythoninsider.blogspot.com/2022/02/python-3110a5-is-available.html

We needed to tame some angry buildbots, but after a small fight, we won with just some scratches! Here you have a shiny new alpha release: Python 3.11.0a5.https://www.python.org/downloads/release/pyth
Python Bytes: #269 Get Rich and replace your cat

Link: https://pythonbytes.fm/episodes/show/269/get-rich-and-replace-your-cat

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=7LkGcaehEek' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
Talk Python to Me: #351: Machine Learning Ethics and Laws Panel

Link: https://talkpython.fm/episodes/show/351/machine-learning-ethics-and-laws-panel

The world of AI is changing fast. And the AI / ML space is a bit out of the ordinary for software developers. Typically in software, we can prove that given a certain situations, the code will always
Real Python: The Real Python Podcast – Episode #96: Manipulating and Analyzing Audio in Python

Link: https://realpython.com/podcasts/rpp/96/

Would you like to experiment with analyzing or manipulating audio with Python? This week on the show, we have Braden Riggs from DolbyIO to discuss extracting audio features and Python libraries for re
Andre Roberge: Friendly-traceback: trying to stay ahead of IPython

Link: https://aroberge.blogspot.com/2022/02/friendly-traceback-trying-to-stay-ahead.html

I'm writing this blog post in the hope that some people will be encouraged to test friendly/friendly-traceback with IPython/Jupyter and make suggestions as to how it could be even more useful.However,
Hynek Schlawack: typing.Protocol Across Python Versions

Link: https://hynek.me/til/typing-protocol/

How to seamlessly support typing.Protocol on Python versions older and newer than 3.8. At the same time.