Category: Python

nba_py documentation with examples

nba_py collects nba statistics from stats.nba.com. This page will provide documentation on the endpoints and example data that nba_py can get because nba stats api documentation is very minimal. nba_py also does have documentation, but it’s more about the parameters of functions that you can do without examples of what...

More

Largest Prime Factor

Project Euler is a website with a series of math problems that can be solved with programming. Problem 3 is about finding the largest prime factor of a number. Although my first impression is that the problem looks simple since I can iterate through the possibilities one by one and...

More

How to install Pip as a User

I don’t have root access on this Macintosh that I’m using. How am I supposed to get the pip package manager for Python? Python comes installed on every Macintosh. python –version Python 2.7.10 Step 1) Get easy_install easy_install is a Python utility for installing certain Python related packages. You might already...

More

Why do you need Unicode? Encoding in Python

Why do you need unicode? This article’s purpose is to tell you the purpose of unicode and briefly, how it is used in Python. Let’s start from square one. As you know, bytes compose all of the characters, strings, and values that we have on the machine. When you use...

More