Examples to Help You Master Python’s F-Strings

In this post, I’ll show you what I consider the most important bits about Python’s f-strings. You will learn several different ways to format a string using f-strings, completely guided by examples. In total, you’ll see 73 examples on how to make the… Read more

Similar

Thoughts on Financial Modeling with Python

Spreadsheets remain undefeated for financial modeling1. There are a number of generic tools (e.g. Anaplan) and industry specific tools (e.g. Argus), but they are best used in portfolio management-type scenarios where scale, structure, or auditability are ... (more…)

Read more »

Guide to Concurrency in Python with Asyncio

This is a quick guide to Python’s asyncio module and is based on Python version 3.8. Introduction asyncio concurrent.futures Event Loop Awaitables Coroutines Tasks Futures Running an asyncio program Running Async Code in the REPL Use another Event Loo... (more…)

Read more »