Latest Articles

Full Metal Health: Snake_Byte #26

Snake_Byte #26: Python for Javascript Developers (If/Else)

When I joined the team at PokitDok, I was primarily a front-end developer, and although I had lots of experience with Javascript, I had never...

Snake_Byte #25: Taken Out of Context

Context is important. It's why nursery rhymes make your hair stand on end in horror films but not when you sing them to children to...

Snake_Byte #24: Working with MongoDB replica sets and PyMongo

In this post we'll discuss how using PyMongo can simplify working with a MongoDB replica set. First, start up a MongoDB replica set. This article...

Snake_Byte #23: Counter

Hola and welcome to this 20+ installment of Snake Bytes, counter_bytes. While Python is the supreme choice for the data scientists, there is often a...

Snake_Byte #22: Keeping Secrets Secret

There is a rise in the number of leaked Electronic Medical Records (EMRs). In 2014-2015, the cost of a partial EMR could fetch around $50....

Snake_Byte #21: Python and API Clients

In his Writing Made Easy SnakeByte, our own Alec Macrae wrote about Python's speed of development stemming from easily importable third party modules and extensive...

Snake_Byte #20: Python for Non-Python People

PokitDok's Snake_Bytes blogs are a weekly glimpse into how our developers use Python in their day to day work to build APIs or analyze large...

Snake_Byte #19: Lazy Coding with List Comprehensions

You may have heard the quip "I will always choose a lazy person to do a difficult job because a lazy person will find an...

Snake_Byte #18: namedtuples with defaults

I would estimate namedtuple to be the most commonly used container type in Python's supplemental collections module, and it doesn't take long for new Python...

Snake_Byte #17: raise Hell()

The raise statement is an often used, but rarely understood feature of Python. Case in point: the official Python tutorial reads, "The sole argument to...

Snake_Byte #16: REST-assured with SOAP and Python

It's easy to use Python and REST with SOAP, without having to cleanout the tools cupboard. Once you have the WSDL and/or a sample request,...