fbpx

Python

"Directional arrows illustrating Python switch statements logic flow."

Python Switch Statements

In languages like C, you have Switch statements allowing you to evaluate the input, then have a few options for the output.  Switch statements are used in place of a series of if/else statements in order to make your code more readable.  Case statements can also have better performance than a traditional if/else setup.  This

Python Switch Statements Read More »

Getting OSX ready for Tensorflow

This article will describe the process of getting Tensorflow working on OSX.  By the end of the article, you will have all the prerequisites installed to allow you to run Tensorflow-based python applications on your MacOS/OSX computer. Install Homebrew Homebrew is a package manager for OSX.  It is similar to apt-get on Ubuntu or yum

Getting OSX ready for Tensorflow Read More »

"Crystal ball reflecting a forest, symbolizing the concept of a Python virtual environment creating isolated spaces for development."

Python Virtual Environment

By default Python only gives you a single environment for your whole system.  This means when you install Python, or a package using Pip, you are installing that version of python or that version of the python package for the entire system.  And all scripts you run will interact with that same version of python

Python Virtual Environment Read More »