How to Make a Great Conference TalkAre you an aspiring conference speaker looking to improve your presentation skills? Check out my conference speaking guide.Mar 20, 2023Mar 20, 2023
Upgrade Your Python VersionHere is an idea for a completely free¹ speed improvement for your code — upgrade your Python version!Mar 2, 2023Mar 2, 2023
String FormattingWith four different ways of formatting strings in Python 3.6 and above, it’s time to look at which one is the fastest.Mar 2, 2023Mar 2, 2023
Membership TestingWhy iterating over the whole list is a bad idea, what data structure is best for membership testing, and when it makes sense to use it?Feb 9, 2023Feb 9, 2023
Checking for True or FalseHow can we compare a variable to True or False, what’s the difference between “is” and “==” operators, and what are truthy values?Feb 2, 2023Feb 2, 2023
Add Comments To Your CommandsA quick tip: when you write an important command in shell, put a comment next to it so you can easily find it later or remember what it…Jan 26, 2023Jan 26, 2023
WTF Excel?!For a tool that probably underlies most of the financial systems in the world, Excel has some incredibly weird limitations and quirks.Jan 26, 2023Jan 26, 2023
Python Versions Management With pyenvUsing the latest version of Python is always a good idea. First of all - you get the new features like the f-strings (Python 3.6), ordered…Jan 20, 2023Jan 20, 2023
Dictionary ComprehensionIs using dictionary comprehension faster than calling the dict() function? And what’s the most efficient way to create a dictionary from…Jan 19, 2023Jan 19, 2023
How I Organize My Notes With ObsidianAfter years of using Evernote, I finally found a worthy replacement. And not only for Evernote but for two other tools as well. Let me showDec 23, 2022Dec 23, 2022
dict() vs. {}Is using {} faster than dict()? If yes, then why? And when would you use one version over the other?Dec 1, 2022Dec 1, 2022
How to Benchmark (Python) CodeThere are plenty of ways to measure the speed of your code. Let me show you a few that I considered for the Writing Faster Python series.Nov 17, 2022Nov 17, 2022
Published inPython in Plain English25 IPython Tips for Your Next Advent of CodeI’ve decided to skip last year’s Advent of Code edition. Mostly because I didn’t have time, but I also knew that I probably wouldn’t…Jan 29, 2021Jan 29, 2021
Published inPython in Plain EnglishSorting Lists in PythonWhat’s the fastest way to sort a list? When can you use sort() and when you need to use sorted() instead?Oct 22, 2020Oct 22, 2020
Remove Duplicates From a ListWhat’s the fastest way to remove duplicates from a list?Oct 22, 2020Oct 22, 2020
Published inPython in Plain EnglishPython: For Loop vs. List ComprehensionSimple “for loops” can be replaced with a list comprehension. But is it going to make our code faster?Oct 15, 2020Oct 15, 2020
type() vs. isinstance()What’s the difference between type() and isinstance() methods, and which one is better for checking the type of an object?Oct 15, 2020Oct 15, 2020
Published inPython in Plain EnglishShould We Still Use OrderedDict in Python?Dictionaries in the latest Python versions preserve the insertion order. So, is there any reason to still use the OrderedDict?Oct 8, 2020Oct 8, 2020
Published inPython in Plain EnglishEasy Speedup Wins With NumbaNumba library has plenty of tools to speed up your mathematical-heavy programs. From a simple @jit decorator, all the way to using CUDA…Oct 1, 2020Oct 1, 2020