Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Quansight Labs Blog: Array Libraries Interoperability

Link: https://labs.quansight.org/blog/2021/10/array-libraries-interoperability/

In this blog post I talk about the work that I was able to accomplish during
my internship at Quansight Labs and the efforts being made towards making
array libraries more interoperable.
Going ahead,
Python Bytes: #254 Do Excel things, get notebook Python code with Mito

Link: https://pythonbytes.fm/episodes/show/254/do-excel-things-get-notebook-python-code-with-mito

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

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

<p><strong>About the show</strong></p>
Python for Beginners: Generator Comprehension in Python

Link: https://www.pythonforbeginners.com/basics/generator-comprehension-in-python

You might have used list comprehension for creating lists from different sequences and container objects. In this article, We will discuss generator comprehension to create generators in Python. We wi
TestDriven.io: Accepting Crypto Payments with Django and Coinbase

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

This tutorial looks at how to accept crypto Payments with Django and Coinbase Commerce.
Test and Code: 166: unittest expectedFailure and xfail

Link: https://testandcode.com/166

xfail isn't just for pytest tests. Python's unittest has @unittest.expectedFailure.
In this episode, we cover:

using @unittest.expectedFailure
the results of passing and failing tests with expectedFa