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

ItsMyCode: nxnxn matrix python

ItsMyCode |In this tutorial, we will take a look at how to create the nxnxn matrix in Python.What is NxNxN?The term NxNxN (pronounced as N by N by N) is also called as NxNxN cube or NxNxN puzzle. It...

View Article


Ned Batchelder: Computing a GitHub Action matrix with cog

I had a complex three-axis GitHub Action matrix, but needed to skip some combinations. I couldn’t get what I needed with the direct YAML syntax, so I used Cog to generate the matrix with Python.The...

View Article


ItsMyCode: numpy.argmax() in Python

ItsMyCode |The numpy.argmax() function returns the indices of the maximum values along an axis. In case of multiple occurrences of the maximum values, the indices corresponding to the first occurrence...

View Article

Image may be NSFW.
Clik here to view.

Mike Driscoll: PyDev of the Week: Sarah Gibson

This week we welcome Sarah Gibson (@drsarahlgibson) as our PyDev of the Week! Sarah is a core developer for Binder, JupyterHub, and The Turing Way. You can see what else she is contributing to over on...

View Article

Image may be NSFW.
Clik here to view.

Stack Abuse: Python: Convert List to String with join()

Data takes many shapes and forms - one of the most common data structure being lists/arrays. Strings are, essentially, sequences of alphanumeric characters. The parallel between these is apparent, and...

View Article


Read the Docs: Read the Docs newsletter - November 2021

Welcome to the latest edition of our monthly newsletter, where we share the most relevant updates around Read the Docs, offer a summary of new features we shipped during the previous month, and share...

View Article

Real Python: Build a Command-Line To-Do App With Python and Typer

Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this tutorial, you’ll...

View Article

Image may be NSFW.
Clik here to view.

PyCharm: YouTube: New Getting Started Series

We have been working hard in the last year to make our YouTube channel more relevant for you. We’ve included tutorials like the Visual Testing with Pytest one, we’ve published the ‘What Does This...

View Article


Codementor: How to run a Python script in Linux with SYSTEMD

How to run python scripts automatically on startup.

View Article


Kogan Dev: Debugging Celery Issues in Django

Lockdown has ended in Melbourne and we’re able to resume mingling, gossiping, and chattering. Just before we could get off our seats and out the door though, Celery (our distributed task queue) jumped...

View Article

Image may be NSFW.
Clik here to view.

PyCoder’s Weekly: Issue #498 (Nov. 9, 2021)

#498 – NOVEMBER 9, 2021View in Browser »An Oral History of Bank Python Interesting read about the strange world of Python, as used by big investment banks: “Bank Python implementations are effectively...

View Article

Python⇒Speed: Cython, Rust, and more: choosing a language for Python extensions

Sometimes pure Python code isn’t enough, and you need to implement an extension in a compiled language like C, C++, or Rust. Maybe your code is slow, and you need to speed it up. Maybe you just need...

View Article

Talk Python to Me: #340: Time to JIT your Python with Pyjion?

Is Python slow? We touched on that question with Guido and Mark last episode. This time we welcome back friend of the show, Anthony Shaw. Here's there to share the massive amount of work he's been...

View Article


Image may be NSFW.
Clik here to view.

Python GUIs: Dialogs and Alerts — Notify your users and ask for their input...

Dialogs are useful GUI components that allow you to communicate with the user (hence the name dialog). They are commonly used for file Open/Save, settings, preferences, or for functions that do not fit...

View Article

Image may be NSFW.
Clik here to view.

Python GUIs: Creating your first app with PySide6 — A simple Hello World!...

PySide, also known as Qt for Python, is a Python library for creating GUI applications using the Qt toolkit. PySide is the official binding for Qt on Python and is now developed by The Qt Company...

View Article


Image may be NSFW.
Clik here to view.

Stack Abuse: Python: Validate Email Address with Regular Expressions (RegEx)

IntroductionRegular Expressions, or RegEx for short, are expressions of patterns that can be used for text search and replace actions, validations, string splitting, and much more. These patterns...

View Article

Image may be NSFW.
Clik here to view.

Real Python: Advanced Visual Studio Code for Python Developers

Visual Studio Code, or VS Code for short, is a free and open source code editor by Microsoft. You can use VS Code as a lightweight code editor to make quick changes, or you can configure it as an...

View Article


Image may be NSFW.
Clik here to view.

PyCharm: Webinar: “10 Reasons You’ll Love PyCharm Even More in 2021” with...

Want to tap into all the power that PyCharm has as an IDE? Michael Kennedy is in the business of Python videos and recently updated his Effective PyCharm Course to the latest and greatest.In this...

View Article

Python for Beginners: Translation table in Python

Python provides us with different ways with which we can manipulate strings. In this article, we will discuss the translation table and will use it to replace a character with another character in a...

View Article

Mike Driscoll: How to Override a List Attribute's Append() Method in Python

I had a use-case where I needed to create a class that had an attribute that was a Python list. Seems simple, right? The part that made it complicated is that I needed to do something special when...

View Article
Browsing all 23144 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>