Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: PyDev of the Week: Pedro Pregueiro

Link: https://www.blog.pythonlibrary.org/2021/10/11/pydev-of-the-week-pedro-pregueiro/

This week we welcome Pedro Pregueiro (@pedropregueiro) as our PyDev of the Week! Pedro is an entrepreneur who has co-founded several companies. He is also an author and contributor at Real Python.
If
Quansight Labs Blog: Re-Engineering CI/CD pipelines for SciPy

Link: https://labs.quansight.org/blog/2021/10/re-engineering-cicd-pipelines-for-scipy/

In this blog post I talk about the projects and my work during my internship at Quansight Labs. My efforts were geared towards re-engineering CI/CD pipelines for SciPy to make them more efficient to
TestDriven.io: Basic and Full-text Search with Django and Postgres

Link: https://testdriven.io/blog/django-search/

This tutorial looks at how to add basic and full-text search to a Django app with Postgres.
Python Engineering at Microsoft: Python in Visual Studio Code – October 2021 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-october-2021-release/

We are pleased to announce that the October 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it dire
Real Python: Representing Rational Numbers With Python Fractions

Link: https://realpython.com/python-fractions/

The fractions module in Python is arguably one of the most underused elements of the standard library. Even though it may not be well-known, it’s a useful tool to have under your belt because it can h
Python Morsels: Reading files line-by-line

Link: https://www.pythonmorsels.com/topics/reading-files-line-line/




Transcript
Let's talk about reading files line-by-line in Python.
Looping over file objects to read line-by-line
Here we're calling the read method on a file object (for a file called diary980.md):
Stack Abuse: Scikit-Learn's train_test_split() - Training, Testing and Validation Sets

Link: https://stackabuse.com/scikit-learns-traintestsplit-training-testing-and-validation-sets/

Introduction
Scikit-Learn is one of the most widely-used Machine Learning library in Python. It's optimized and efficient - and its high-level API is simple and easy to use.
Scikit-Learn has a plethor
Real Python: Using Pygame to Build an Asteroids Game in Python

Link: https://realpython.com/courses/asteroids-game-python-pygame/

Do you want to create your own computer games but like Python too much to abandon it for a career as a game developer? There’s a solution for that! With the Pygame module, you can use your amazing Pyt
Python for Beginners: Python Comparison Operator

Link: https://www.pythonforbeginners.com/basics/python-comparison-operator

There are various types of operators like arithmetic operators, comparison operators, and bitwise operators in Python. In our programs, we use these operators to control the sequence of execution and
PyCoder’s Weekly: Issue #494 (Oct. 12, 2021)

Link: https://pycoders.com/issues/494

#494 – OCTOBER 12, 2021 View in Browser » Beating C and Java, Python Becomes the #1 Most Popular Programming Language, Says TIOBE ZDNet reports that Python “is now the most popular language, acc
PyCon: PyCon US 2022 Website and Sponsorship Program Launch!

Link: https://pycon.blogspot.com/2021/10/pycon-us-2022-website-and-sponsorship.html

With PyCon US 2022 planning underway, we are excited to be launching the conference website along with our sponsorship program. Our team is planning to host the event in person with an online componen
Inspired Python: Mastering Structural Pattern Matching

Link: https://www.inspiredpython.com/course/pattern-matching/mastering-structural-pattern-matching?r=rss


Mastering Structural Pattern Matching
If you’re not familiar with the term Structural Pattern Matching then you are not alone. It’s a feature that, until about 10-15 years ago, you would not see outs
Inspired Python: Watch out for mutable defaults in function arguments

Link: https://www.inspiredpython.com/article/watch-out-for-mutable-defaults-in-function-arguments?r=rss


Watch out for mutable defaults in function arguments
Default arguments in functions are useful. When you write a function with defaults you do so with the understanding that other developers may not
Inspired Python: Separating type-specific code with single­dispatch

Link: https://www.inspiredpython.com/article/separating-type-specific-code-with-singledispatch?r=rss


Separating type-specific code with single­dispatch
Have you ever found yourself writing a litany of if-elif-else statements peppered with isinstance() calls? Notwithstanding error handling, they are
Inspired Python: Truthy and Falsy Gotchas

Link: https://www.inspiredpython.com/article/truthy-and-falsy-gotchas?r=rss


Truthy and Falsy Gotchas
Think back to when you wrote your first ever if statement in Python. I’m sure that intuition told you to only give Python boolean expressions that naturally evaluates to True
Real Python: Python's property(): Add Managed Attributes to Your Classes

Link: https://realpython.com/python-property/

With Python’s property(), you can create managed attributes in your classes. You can use managed attributes, also known as properties, when you need to modify their internal implementation without cha