What Happens When Your Code Does Not Follow The Python Rules?

python

So what happens if your code does not follow the Python rules? This article will be fairly short. Most of this will not depend on your version of Python. Tabbing/Spacing So what happens if you get your tab or spacing incorrect? Let’s give it a go. Often times the best way to figure something like … Read moreWhat Happens When Your Code Does Not Follow The Python Rules?

Finding the First Instance of an Element in an Array

python

Need help finding the first instance of an element in an array? I recently came across a situation where I had two arrays with corresponding data in each array. For example, I had two arrays where one was a person’s first name and the other was a person’s last name. I needed to find a … Read moreFinding the First Instance of an Element in an Array

OpenPyXL – Writing To an Excel Workbook Using Python

python

Prep First let’s make sure you have the OpenPyXL library installed. If you’re already in Python and don’t want to needlessly exit the interpreter, then type the following: This command should list out all the methods of OpenPyXL if it is in fact installed on your machine. Else, we’ll have to turn to pip. Assuming … Read moreOpenPyXL – Writing To an Excel Workbook Using Python