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

Test and Code: 192: Learn to code through game development with PursuedPyBear...

The first game I remember coding, or at least copying from a magazine, was in Basic. It was Lunar Lander. Learning to code a game is a way that a lot of people get started and excited about...

View Article


PyCharm: The PyCharm 2022.2.1 Release Candidate Is Now Available!

We’re working closely with your feedback on the PyCharm 2022.2 version that was released last week. Thank you for sharing with us! If you encounter an issue in PyCharm 2022.2, please reach out to our...

View Article


Mike Driscoll: PyDev of the Week: Wolf Vollprecht

This week we welcome Wolf Vollprecht (@wuoulf) as our PyDev of the Week! Wolf is a core maintainer of mamba, a Fast Cross-Platform Package Manager as well as xtensor, a C++ library meant for numerical...

View Article

Python for Beginners: Check if a String is Empty or Whitespace in Python

Strings in Python are used for handling text data. While doing operations on text data, we may need to remove empty strings or whitespaces. When we print an empty string or whitespaces, we cannot...

View Article

Python Insider: Python 3.11.0rc1 is now available

This is the first release candidate of Python 3.11https://www.python.org/downloads/release/python-3110rc1/This release, **3.11.0rc1**, is the penultimate release preview.  Entering the release...

View Article


Real Python: Python News: What's New From July 2022

In July 2022, Python reached for the stars, playing a key role in processing data from the James Webb Space Telescope. After two years of virtual conferences, EuroPython 2022 took place in Dublin,...

View Article

Image may be NSFW.
Clik here to view.

scikit-learn: scikit-learn Sprint in Salta, Argentina

Author: Juan Martín LoyolaIn September of 2022, the SciPy Latin America conference will take place in Salta, Argentina. As part of the event, we are organizing a scikit-learn sprint for the people...

View Article

Real Python: Exploring Special Function Parameters

Have you ever come across the forward slash (/) and asterisk (*) symbols in the documentation for your favorite libraries? These represent special parameters, which tell you what kinds of arguments you...

View Article


Image may be NSFW.
Clik here to view.

IslandT: Detect the object using its own color in Pygame

In this pygame example, I will create a triangle and fill it up with the color of my choice. Next, I am going to create a small program that will detect that object using its own color as a hint.Below...

View Article


Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #537 (Aug. 9, 2022)

#537 – AUGUST 9, 2022View in Browser »Finding and Fixing Python Code Bugs Learn how to identify and fix logic errors, or bugs, in your Python code. You’ll use the built-in debugging tools in Python’s...

View Article

Mike Driscoll: Adding Data to Empty DataFrames in pandas

One of the most popular 3rd party Python packages is called pandas. The pandas package "is a fast, powerful, flexible and easy to use open source data analysis and manipulation tool, built on top of...

View Article

Python Bytes: #296 pip: Constrain your excitement

<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=fdtDfeYmdDU' style='font-weight: bold;'>Watch on YouTube</a><br>...

View Article

Image may be NSFW.
Clik here to view.

IslandT: Rotate and scale image with Pygame

In this article, I will create a small python program using the pygame framework to scale up and rotate an image on the display screen. The image will keep on rotating counterclockwise at 0.1 degrees...

View Article


Mike Driscoll: How to Merge Dictionaries with Python (Video)

Learn three different ways to merge Python dictionaries with Mike DriscollYou will learn three different ways to merge dictionaries:Using the dictionary's update() methodUsing **Using the Union...

View Article

Python for Beginners: Save Numpy Array to Text File in Python

Numpy arrays are used extensively while data analysis in python. In this article, we will discuss how we can save a numpy array to a text file in python.Save Numpy Array to Text File Using the str()...

View Article


Real Python: Sorting a Python Dictionary: Values, Keys, and More

You’ve got a dictionary, but you’d like to sort the key-value pairs. Perhaps you’ve tried passing a dictionary to the sorted()function but haven’t gotten the results you expected. In this tutorial,...

View Article

"Paolo Amoroso's Journal": The Python feed of my old blog Moonshots Beyond...

The Python feed of my old blog Moonshots Beyond the Cloud has long been aggregated by Planet Python. But I'm no longer going to update that blog, so I removed the old feed from Planet Python and...

View Article


Image may be NSFW.
Clik here to view.

The Python Coding Blog: Shallow and Deep Copy in Python and How to Use...

You need to make a copy of an object in a Python program. How difficult can it be? Not very. But you also need to know the difference between shallow and deep copy in Python and decide which one you...

View Article

TestDriven.io: Integrating Mailchimp with Django

This article looks at how to integrate Mailchimp with Django for newsletters and transactional emails.

View Article

Python⇒Speed: Finding performance problems: profiling or logging?

When your software is too slow in production, how can you figure out the source of the problem?One common starting point to improving production observability is logging, and ideally trace-based...

View Article
Browsing all 22466 articles
Browse latest View live