Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python⇒Speed: Please stop writing shell scripts

Link: https://pythonspeed.com/articles/shell-scripts/

When you’re automating some task, for example packaging your application for Docker, you’ll often find yourself writing shell scripts.
You might have a bash script to drive the packaging process, and
Python Software Foundation: Meta deepens its investment in the Python ecosystem

Link: http://pyfound.blogspot.com/2022/03/meta-deepens-its-investment-in-python.html

As the backbone to many Meta Services ranging from Instagram to its AI and data infrastructure, Python is very important to Meta. PyTorch is built on Python, accelerating the path from ML research and
PyCoder’s Weekly: Issue #517 (March 22, 2022)

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

#517 – MARCH 22, 2022 View in Browser » Python list vs tuple Comparison Learn how list and tuple are similar and how they are different, including storage and speed differences and how to choose
The Python Coding Blog: How Do They Build The Starships in Star Trek? Classes and Objects in Python

Link: https://thepythoncodingbook.com/2022/03/23/starships-in-star-trek-classes-objects-python/

With so many new Star Trek series coming out at the moment and in the near future, new and old Trekkies are all asking the same question: How do they build the starships in the Star Trek universe? Or
Python for Beginners: Binary Tuple to Integer in Python

Link: https://www.pythonforbeginners.com/basics/binary-tuple-to-integer-in-python

A binary tuple is a tuple that contains only 0s and 1s as its elements. In this article, we will discuss different ways to convert a binary tuple to an integer in python. 
How to Convert a Binary Tupl
Real Python: Image Processing With the Python Pillow Library

Link: https://realpython.com/image-processing-with-the-python-pillow-library/

When you look at an image, you see the objects and people in it. However, when you read an image programmatically with Python or any other language, the computer sees an array of numbers. In this tuto
Kushal Das: eduGAIN Key Signing Ceremony

Link: https://kushaldas.in/posts/edugain-key-signing-ceremony.html


eduGAIN is a interfederation joining academic identity federations around the world, including over 4781 identify providers & 3519 service
providers. The project was initiated by by the GÉANT
resear
Python Bytes: #276 Tracking cyber intruders with Jupyter and Python

Link: https://pythonbytes.fm/episodes/show/276/tracking-cyber-intruders-with-jupyter-and-python

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

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

<p><strong>About the show</strong></p>
Matt Layman: PDF Attendance Report - Building SaaS with Python and Django #131

Link: https://www.mattlayman.com/blog/2022/pdf-attendance-report-building-saas-with-python-and-django-131/

In this episode, we added a third PDF report to the PDF bundle. The patterns from previous reports made this one go faster, but I hit some small snags with the output of the PDF being crushed together
Python Insider: Python 3.10.4 and 3.9.12 are now available out of schedule

Link: https://pythoninsider.blogspot.com/2022/03/python-3104-and-3912-are-now-available.html

Did anybody say cursed releases?
Well, it turns out that 3.10.3 and 3.9.11 both shipped a regression
which caused those versions not to build on Red Hat Enterprise Linux 6.
While this 11-year-old v
eGenix.com: Python Meeting Düsseldorf - 2022-03-30

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2022-03-30

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

30.0
Real Python: The Real Python Podcast – Episode #103: Becoming More Effective at Manipulating Data With Pandas

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

Do you wonder if you're taking the right approach when shaping data in pandas? Is your Jupyter workflow getting out of hand? This week on the show, Matt Harrison talks about his new book, "Effective P
Python for Beginners: List of Lists in Python

Link: https://www.pythonforbeginners.com/basics/list-of-lists-in-python

Lists are used in python to store data when we need to access them sequentially. In this article, we will discuss how we can create a list of lists in python. We will also implement programs to perfor
Talk Python to Me: #358: Understanding Pandas visually with PandasTutor

Link: https://talkpython.fm/episodes/show/358/understanding-pandas-visually-with-pandastutor

Pandas is a great library that allows you to accomplish a ton of filtering and processing in condensed syntax. But how well do you understand what's happening? Sam Lau and Philip Guo built a great sit
Marcos Dione: trying-to-calculate-proper-shading

Link: http://www.grulic.org.ar/~mdione/glob//posts/trying-to-calculate-proper-shading/

It all started with the following statement: "my renders are too slow". There
were three issues as the root case: osm-carto had become more complex (nothing I
can do there), my compute resources were
ItsMyCode: [Solved] RuntimeWarning: invalid value encountered in true_divide

Link: https://itsmycode.com/invalid-value-encountered-in-true-divide/

Suppose you attempt to divide the NumPy arrays elements using the divide() method with invalid values such as 0/0, NaN Infinity, zero, etc. you will encounter a RuntimeWarning: invalid value encounter
ItsMyCode: [Solved] ValueError: cannot convert float NaN to integer

Link: https://itsmycode.com/cannot-convert-float-nan-to-integer/

The ValueError: cannot convert float NaN to integer occurs when we attempt to convert the pandas DataFrame column from float to an integer where the column contains NaN value.
In this tutorial, we wil
ItsMyCode: [Solved] AttributeError: ‘numpy.ndarray’ object has no attribute ‘append’

Link: https://itsmycode.com/numpy-ndarray-object-has-no-attribute-append/

If you use the regular Python list append() method to add an element to the end of NumPy array, you will encounter AttributeError: ‘numpy.ndarray’ object has no attribute ‘append’.
In this tutorial, w
ItsMyCode: [Solved] SyntaxError: Positional argument follows keyword argument

Link: https://itsmycode.com/positional-argument-follows-keyword-argument/

If you provide the keyword argument first followed by a positional argument, the Python interpreter will raise SyntaxError: positional argument follows keyword argument.
In this tutorial, we will lear
Matthew Wright: Using requests and BeautifulSoup in Python to scrape data

Link: https://www.wrighters.io/using-requests-and-beautifulsoup-in-python-to-scrape-data/

Sometimes pandas.read_html doesn't work for scraping website data, but you can try using requests and BeautifulSoup to do it yourself.The post Using requests and BeautifulSoup in Python to scrape data