Quantcast
Channel: Planet Python
Browsing all 23409 articles
Browse latest View live

The Python Coding Blog: How Do They Build The Starships in Star Trek? Classes...

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...

View Article


Python for Beginners: 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 Tuple...

View Article


Python Bytes: #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>...

View Article

Real Python: 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...

View Article

Image may be NSFW.
Clik here to view.

Kushal Das: eduGAIN Key Signing Ceremony

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...

View Article


Matt Layman: 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.

View Article

Image may be NSFW.
Clik here to view.

Python Insider: Python 3.10.4 and 3.9.12 are now available out of schedule

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...

View Article

eGenix.com: Python Meeting Düsseldorf - 2022-03-30

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.AnkündigungDas nächste Python Meeting Düsseldorf findet an folgendem Termin...

View Article


Talk Python to Me: #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 site...

View Article


Real Python: The Real Python Podcast – Episode #103: Becoming More Effective...

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...

View Article

Python for Beginners: 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 perform...

View Article

Image may be NSFW.
Clik here to view.

Marcos Dione: 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...

View Article

ItsMyCode: [Solved] RuntimeWarning: 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, NaNInfinity, zero, etc. you will encounter a RuntimeWarning: invalid value encountered...

View Article


ItsMyCode: [Solved] ValueError: 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 will...

View Article

ItsMyCode: [Solved] AttributeError: ‘numpy.ndarray’ object has no...

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, we...

View Article


ItsMyCode: [Solved] SyntaxError: 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 learn...

View Article

Matthew Wright: 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...

View Article


The No Title® Tech Blog: Book review — Python Distilled, by David M. Beazley

This is a pragmatic book that presents some of the most important topics about the Python programming language in a concise form, designed to make it easier to find out the most relevant information...

View Article

Image may be NSFW.
Clik here to view.

Podcast.__init__: Building A Community And Technology Stack For Scalable Big...

Science is founded on the collection and analysis of data. For disciplines that rely on data about the earth the ability to simulate and generate that data has been growing faster than the tools for...

View Article

Mike Driscoll: PyDev of the Week: Daniel Gaspar

This week we welcome Daniel Gaspar as our PyDev of the Week! Daniel is the co-author of Mastering Flask Web Development. If you would like to see what else Daniel has been up to, you should check out...

View Article
Browsing all 23409 articles
Browse latest View live