Tag: python

Total 50 Posts

Formatting Strings with Python

Introduction

Sooner or later string formatting becomes a necessary evil for most programmers. More so in the past before the thick client GUI era, but the need to have a specific string representation is still a common enough use case. My first introduction was back in college when I had

Continue Reading

Loops in Python

Choosing the Right Loop Construct

Python offers a variety of constructs to do loops. This article presents them and gives advice on their specific usage. Furthermore, we will also have a look at the performance of each looping construct in your Python code. It might be surprising for you.

Loops,

Continue Reading