Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Numpy Array Operations in Python

Link: https://www.pythonforbeginners.com/basics/numpy-array-operations-in-python

Numpy arrays are a great tool to handle and analyze numerical data in Python. In the last article, we discussed different ways to create a numpy array. In this article, we will discuss various numpy a
Real Python: Minimax in Python: Learn How to Lose the Game of Nim

Link: https://realpython.com/python-minimax-nim/

Games are fun! Their well-defined rules let you explore different strategies in search of a surefire way to win. The minimax algorithm is used to choose the optimal move at any point in a game. You’ll
Django Weblog: Last call for DjangoCon US tickets

Link: https://www.djangoproject.com/weblog/2022/oct/05/last-call-for-djangocon-us-tickets/


DjangoCon US 2022 is less than two weeks away!
Join us online or in person in San Diego.
As the DjangoCon US 2022 kick-off date rapidly approaches (October 16th), we wanted to take the opportunity to
Python Bytes: #304 Build your own text adventure language in Python

Link: https://pythonbytes.fm/episodes/show/304/build-your-own-text-adventure-language-in-python

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

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

<p><strong>About the show</strong></p>
IslandT: Python example : Get the user inputs and multiply two numbers

Link: https://islandtropicaman.com/wp/2022/10/06/python-example-get-the-user-inputs-and-multiply-two-numbers/

In this article let us create a Python program that will ask the user to input two numbers and then multiplies them and print the outcome on the screen!
let us write the program to get the user inputs
PyCharm: The Second EAP Build for PyCharm 2022.3 Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/10/2022-3-eap-2/

The second EAP build for PyCharm 2022.3 provides a convenient way to check the outcome of the intention action you are about to use, and features a new way to copy-paste a line without needing to sele
Python Engineering at Microsoft: Python in Visual Studio Code – October 2022 Release

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

We’re excited to announce that the October 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available!
This release includes the following announcements:

Simplified pr
Real Python: The Real Python Podcast – Episode #128: Using a Memory Profiler in Python & What It Can Teach You

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

Have you used a memory profiler to gauge the performance of your Python application? Maybe you're using it to troubleshoot memory issues when loading a large data science project. What could running a
Python for Beginners: Stack and Concatenate Numpy Arrays in Python

Link: https://www.pythonforbeginners.com/basics/stack-and-concatenate-numpy-arrays-in-python

Numpy arrays are one of the most efficient data structures for numerical data. You can perform different mathematical operations on numpy arrays using built-in functions. This article will discuss how
Eli Bendersky: Slow and fast methods for generating random integers in Python

Link: https://eli.thegreenplace.net/2018/slow-and-fast-methods-for-generating-random-integers-in-python/

The other day, while playing with a simple program involving randomness, I
noticed something strange. Python's random.randint() function feels quite
slow, in comparison to other randomness-generating
Eli Bendersky: Elegant Python code for a Markov chain text generator

Link: https://eli.thegreenplace.net/2018/elegant-python-code-for-a-markov-chain-text-generator/

While preparing the post on minimal char-based RNNs,
I coded a simple Markov chain text generator to serve as a comparison for the
quality of the RNN model. That code turned out to be concise and quit
Eli Bendersky: Covariance and contravariance in subtyping

Link: https://eli.thegreenplace.net/2018/covariance-and-contravariance-in-subtyping/

Many programming languages support subtyping, a kind of polymorphism that lets
us define hierarchical relations on types, with specific types being subtypes of
more generic types. For example, a Cat c
Eli Bendersky: Unification

Link: https://eli.thegreenplace.net/2018/unification/

In logic and computer science, unification is a process of automatically solving
equations between symbolic terms. Unification has several interesting
applications, notably in logic programming and ty
Eli Bendersky: Type inference

Link: https://eli.thegreenplace.net/2018/type-inference/

Type inference is a major feature of several programming languages, most notably
languages from the ML family like Haskell. In this post I want to provide a
brief overview of type inference, along wit
Eli Bendersky: Type erasure and reification

Link: https://eli.thegreenplace.net/2018/type-erasure-and-reification/

In this post I'd like to discuss the concepts of type erasure and
reification in programming languages. I don't intend to dive very deeply into
the specific rules of any particular language; rather, t
Eli Bendersky: Faster XML stream processing in Go

Link: https://eli.thegreenplace.net/2019/faster-xml-stream-processing-in-go/

XML processing was all the rage 15 years ago; while it's less
prominent these days, it's still an important task in some application domains.
In this post I'm going to compare the speed of stream-proc
Eli Bendersky: You don't need virtualenv in Go

Link: https://eli.thegreenplace.net/2020/you-dont-need-virtualenv-in-go/

Programmers that come to Go from Python often wonder "do I need something like
virtualenv here?"
The short answer is NO; this post will provide some additional details.
While virtualenv in Python is u
Eli Bendersky: Python - paralellizing CPU-bound tasks with concurrent.futures

Link: https://eli.thegreenplace.net/2013/01/16/python-paralellizing-cpu-bound-tasks-with-concurrent-futures

A year ago, I wrote a series of posts about using the Python multiprocessing module. One of the posts contrasted compute-intensive task parallelization using threads vs. processes. Today I want to rev
Eli Bendersky: GitHub Actions: first impressions

Link: https://eli.thegreenplace.net/2020/github-actions-first-impressions/

I've been using Travis CI fairly extensively since
2013, when I moved my personal OSS projects from Bitbucket to GitHub.
It's a great service and a much-appreciated boon to the open-source community.
Eli Bendersky: Twisted-based IRC server example

Link: https://eli.thegreenplace.net/2013/01/28/twisted-based-irc-server-example

Recently I was looking for ways to play with a simple Python-based IRC bot. Like for other network-related tasks, I turned to Twisted for the answer and was pleased to find a very nice and simple bot