Skip to content

Files

Latest commit

24009ba · Jun 5, 2015

History

History
50 lines (23 loc) · 2.29 KB

resources.md

File metadata and controls

50 lines (23 loc) · 2.29 KB

#Resources - Installing Python

During class we'll frequently use the command line and a text editor, and it helps if you have these installed beforehand.

##First, the Command Line##

When learning Python you'll probably come across many references to the Command Line. What is it? How do you use it?

The answers to many of these questions can be found here. On Mac or Linux you're already set with Terminal or bash. Many versions of Windows come with Powershell, but you can also download it here.

##Installing Python##

Windows Windows requires you to install Python, which can be confusing if you're new to programming. Below are a few guides to help you through the process:

  • How-to-Geek's Guide to Installing Python, which includes screen shots documenting the steps, if you prefer visual guides.

  • The official Python Documentation, which has a couple helpful links.

  • If you plan ot use Python for data analytics you can download Anaconda, a Python distribution that comes with many of the most popular packages for analytics as well as Spyder, an interactive environment similar to what you're used to if you've used SaS, Stata, SPSS, or R Studio.

Mac

Python comes pre-installed with OSX. All you need to do is open the Terminal application (found in Utilities or use Spotlight search) and type the following:

'''~$ python'''

this will start a Python instance, and everything else you type in the terminal window will be treated as Python.

Linux

This depends on the Linux distribution you're using, but it will most likely be installed.

##Text Editors##

There are quite a few to choose from, but some of the most popular include-