Python Coding Interview Learning Path

Introduction Most companies, when recruiting new software engineers, include at least one coding interview as part of their selection process. And why not? We’re software engineers, after all; writing (and reading) code is what we do.  Yet, even for the seasoned Pythonista, there is one coding interview that often feels disproportionately — and unnecessarily — stressful:… Continue reading Python Coding Interview Learning Path

Naughts and Crosses Gets a Little Help

Naughts and Crosses (Tic-Tac-Toe to some audiences) is a popular skill game often played by children. It can also be usefully employed to distract dial up computers, at NORAD for example, rather than allowing the ‘playing’ of Global Thermonuclear War. Would you like to play a game?

Abstract Syntax Trees in Python

In this article Alessandro provides an overview of Abstract Syntax Trees (ASTs), introduces a few use-cases, and showcases the ast module in the Python Standard Library. The content is structured in a top-down fashion, starting from general notion about an AST, and digging deeper up to the point of artificially manipulating an AST to “randomize” the content of some instructions.

Watch Me Code – Solving Bite 21. Query a Nested Data Structure

I recorded a video solving Bite 21. Query a nested data structure. The exercise presents us with a dictionary of car manufacturers and their corresponding car models. We will extract various bits and pieces from it as well as sort the nested model lists. This is a common type of data structure so specially for a beginner it is important to have this become second nature. Prepare to learn more about looping, some string operations, and list / dict comprehensions.