Python

Is related to the Python Programming language in some way

Python 3 – An Intro to Type Hinting

Python 3.5 added an interesting new library called typing. This adds type hinting to Python. Type hinting is kind of declaring your functions arguments to have a certain type. However the type hinting is not binding. It’s just a hint, so there’s nothing preventing the programmer from passing something they shouldn’t. This is Python after […]

Python 3 – An Intro to Type Hinting Read More »

Python One of Eight Languages to Have on Resume in 2016

I recently came across a post by BusinessInsider that claimed that Python was one of the top eight languages to have on your resume in 2016. Python comes in at 6th place. However, the article cites an article on CodingDojo as its source of information, which was talking about “The 8 Most In-Demand Programming Languages of 2015”.

Python One of Eight Languages to Have on Resume in 2016 Read More »

Book Review: Python Playground – Geeky Projects for the Curious Programmer

No Starch Press recently sent me a book called Python Playground: Geeky Projects for the Curious Programmer by Mahesh Venkitachalam to review. I don’t normally get books from that publisher so I wasn’t sure what to expect, but the book is quite good. But I won’t provide any spoilers here as we have a quick

Book Review: Python Playground – Geeky Projects for the Curious Programmer Read More »

Python 101: Lambda Basics

Many programming languages have the concept of the lambda function. In Python, the lambda is an anonymous function or unbound function. The syntax for them looks a bit odd, but it’s actually just taking a simple function and turning it into a one-liner. Let’s look at a regular simple function to start off: #———————————————————————- def

Python 101: Lambda Basics Read More »

Python 201 – An Intro to Context Managers

Python came out with a special new keyword several years ago in Python 2.5 that is known as the “with statement”. This new keyword allows a developer to create context managers. But wait! What’s a context manager? They are handy constructs that allow you to set something up and tear something down automatically. For example,

Python 201 – An Intro to Context Managers Read More »