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 ArticleNed 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 ArticleItsMyCode: 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 ArticleMike 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 ArticleStack 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 ArticleRead 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 ArticleReal 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 ArticlePyCharm: 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 ArticleCodementor: How to run a Python script in Linux with SYSTEMD
How to run python scripts automatically on startup.
View ArticleKogan 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 ArticlePyCoder’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 ArticlePython⇒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 ArticleTalk 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 ArticlePython 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 ArticlePython 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 ArticleStack 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 ArticleReal 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 ArticlePyCharm: 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 ArticlePython 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 ArticleMike 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