馃憢 Welcome to Ev’s stdout

Hi, This is Evgeny. I’m a software engineer with a background in ML who likes to build webapps. In this blog I share articles about programming and my coding experience. My go to languages are Python, Typescript and Rust.

Learn Python Context Managers

Originally posted on 2020-04-04 A real problem I encountered While learning to use Python Context Managers, I encountered a neat use case for them. At the time I was writing a data pipeline that was heavily querying an API and I would often quickly reach the API quota limits and the script would abruptly quit. My initial solution was to catch the exception and implement a loop that would try again after a time delay....

March 5, 2023 路 10 min 路 Evgeny Roskach

Learn Python Decorators

Originally posted on 2020-04-03 Whether you are a beginner or an advanced programmer, there are many reasons why you should choose Python for your next coding project. Python is a scripted language with an almost stupidly simple syntax, it is easy to learn and powerful to use. One of the main reasons that I love people love Python is that it offers quite a few specific metaphors (a.k.a. paradigms) for doing certain things....

March 5, 2023 路 8 min 路 Evgeny Roskach

Learn Python Generators

Originally posted on 2020-04-02 There are already many very helpful tutorials on the subject out there. In this piece I wanted to share my own take and experience with python generators that I have gathered while working on production-level Python code. Introduction Whether you are familiar with Python generators or you have only heard a thing or two about them, allow me to summarise the 2 main properties of generator functions:...

March 5, 2023 路 10 min 路 Evgeny Roskach