In python, a string is a string until you add special characters.
Posts tagged: python
All posts with the tag "python"
I often run shell commands from python with Popen, but not often enough do I set up error handline for these subproce...
In looking for a way to automatically generate descriptions for pages I stumbled into a markdown ast in python. It al...
For an embarassingly long time, til today, I have been wrapping my dict gets with key errors in python. I'm sure I've...
BeautifulSoup is a DOM like library for python. It's quite useful to manipulate html. Here is an example to find_all ...
I keep my nodes short and sweet. They do one thing and do it well. I turn almost every DataFrame transformation into ...
As you work on your kedro projects you are bound to need to add more dependencies to the project eventually. Kedro us...
I am a huge believer in practicing your craft. Professional athletes spend most of their time honing their skills and...
I have added a hotkey to my copier template setup to quickly access all my templates at any time from tmux. At any po...
I often pop into my blog from neovim with the intent to look at just a single series of posts, , , or just see todays...
Copier allows you to run post render tasks, just like cookiecutter. These are defined as a list of in your . They are...
I've referenced a video from Anthony Sotile in passing conversation several times. Walking through his gradual typing...
In order to make an auto title plugin for markata I needed to come up with a way to reverse the slug of a post to cre...
Getting docstrings from python's ast is far simpler and more reliable than any method of regex or brute force searchi...
Many tools such as ripgrep respect the file in the directory it's searching in. This helps make it incredibly faster ...
I don't use refactoring tools as much as I probably should. mostly because I work with small functions with unique na...
When running a python process that requires a port it's handy if there is an option for it to just run on the next av...
functools.total_ordering makes adding all of six of the rich comparison operators to your custom classes much easier,...
Adding a flag to your applications can make them much easier for those using it to debug your application, especially...
Python comes with an enum module for creating enums. You can make your own enum by inheriting importing and inheritin...