Showing: 21 - 30 of 30 RESULTS
colorful wordcloud

How to create word clouds with Python

Creating word clouds in Python is easy thanks to a few open source libraries. Today, we we’ll use the ammueler word cloud library and matplotlib to draw some word clouds. Word clouds are useful visualization tools for looking at the general theme of a document. As a document contains more instances of a given word, …

computer screen showing histogram

Graphing using Python and Matplotlib

In this article I will introduce you to graphing in python using matplotlib. There are many kinds of charts you can use with matplot lib. By the end of this article, you should understand how to draw basic bar, line, and scatterplot charts. As you go through each of the example charts, you will see …


Python Basics – Getting started with Python

In this article, we will cover python basics. We will discuss what is python, where you can download python from, the basic syntax of python, how to input and output information in and out of your python scripts, how to do loops, conditional operators (if/else/elif), and how to write basic functions. What is Python? Python …

lightup arrows pointing to the right
Programming Python

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 …

blue swirly wire or plastic

Python For loops and While loops

Python like all other major programming languages support both For and While loops for running the same block of code over and over again. In this article I will discuss the difference between a python for loop and a while loop. Generally the difference between the two kinds of loops is that you declare and …