TestDriven.io: Permissions in Django
This article looks at how to leverage Django's default permission system to assign permissions to users and groups.
View ArticlePython for Beginners: Tuple String to Tuple in Python
Converting data from one form to another is a tedious task. In this article, we will discuss two ways to convert a tuple string to a tuple in python.How to Convert a Tuple String to a Tuple in...
View ArticlePyCon: PyCon US 2022 Welcomes 8 Early-Stage Companies To Startup Row
It's official! The Startup Row lineup has been finalized, and we're very excited to give eight early-stage companies a unique opportunity to share what they're working on with the vibrant, diverse...
View ArticleReal Python: Exploring Keywords in Python
Every programming language has special reserved words, or keywords, that have specific meanings and restrictions around how they should be used. Python is no different. Python keywords are the...
View ArticlePython Morsels: String Formatting Techniques
Python's string formatting syntax is both powerful and complex. Let's break it down and then look at some cheat sheets.Table of contentsWhat are we talking about?DefinitionsExample f-stringsFormatting...
View ArticlePyCoder’s Weekly: Issue #520 (April 12, 2022)
#520 – APRIL 12, 2022View in Browser »The Oregon Trail in Python In the 1971 text-based game, the player guides a party of settlers along the Oregon Trail. Random events occur and death abounds. Learn...
View ArticleDavid Amos: Revisiting Rock Paper Scissors in Python
When you learn to program for the first time, you look for (or, perhaps, are assigned) projects that reinforce basic concepts. But how often do you, once you&aposve attained more knowledge and...
View ArticleStack Abuse: Guide to Python's append() Function
IntroductionBasic data types in Python allow us to store a single value under a symbolic name. This roughly follows the mathematical notation of variables. In a way, a name is assigned to a value, so...
View ArticleReal Python: Python Virtual Environments: A Primer
In this tutorial, you’ll learn how to work with Python’s venv module to create and manage separate virtual environments for your Python projects. Each environment can use different versions of package...
View ArticleMalthe Borch: Automatic HTTPS on Kubernetes
The ingress controller supported by the Kubernetes project itself is nginx. And while there are recipes for setting up automated issuing of TLS certificates using free CAs such as Let's Encrypt, there...
View ArticleBrian Okken: Current Git CLI workflow
Workflow Most of my interactions with git CLI, especially for quick changes, is: $ git checkout main $ git pull $ git checkout -b okken_something $ git commit -a -m 'quick message' $ git push But even...
View ArticlePyCharm: Introducing PyCharm 2022.1!
In this first release of 2022, we decided to focus on polishing existing features and workflows instead of adding new functionality, especially after our previous release that introduced multiple...
View ArticleAnarcat: Tuning my wifi radios
After listening to an episode of the 2.5 admins podcast, I realized there was some sort of low-hanging fruit I could pick to better tune my WiFi at home. You see, I'm kind of a fraud in WiFi: I only...
View ArticleStack Abuse: Guide to Dictionaries in Python
IntroductionPython comes with a variety of built-in data structures, capable of storing different types of data. A Python dictionary is one such data structure that can store data in the form of...
View ArticleMike Driscoll: Python 101 - Intro to Graphing with Python and Matplotlib (Video)
Python has lots of data visualization packages available to it. One of the most popular is Matplotlib.In this video tutorial, will be learning about the following topics:Creating a Simple Line Chart...
View ArticleNed Batchelder: Python custom formatting
Python f-strings use a formatting mini-language, the same as the older .format() function. After the colon comes short specifications for how to format the value:>>> word = "Hello">>>...
View ArticleReal Python: The Real Python Podcast – Episode #106: Class Constructors &...
Do you know the difference between creating a class instance and initializing it? Would you like an interactive tour of the Python Pillow library? This week on the show, Christopher Trudeau is here,...
View ArticlePython Bytes: #279 Autocorrect and other Git Tricks
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=RXqP1q8Yp1g' style='font-weight: bold;'>Watch on YouTube</a><br>...
View ArticleTalk Python to Me: #361: Pangeo Data Ecosystem
Python's place is climate research is an important one. In this episode, you'll meet Joe Hamman and Ryan Abernathy, two researchers using powerful cloud computing systems and Python to understand how...
View ArticleThe Python Coding Blog: Debugging Python Code Is Like Detective Work — Let’s...
Debugging Python code is not a mysterious art form. It’s like a detective solving a mystery. This analogy comes from one of my favourite programming aphorisms: “Debugging is like being the detective in...
View Article