Boston Python workshop 2/Friday setup

From OpenHatch wiki
< Boston Python workshop 2
Revision as of 20:44, 23 April 2011 by imported>Jesstess (Created page with 'Welcome to the Friday evening section of the Boston Python Workshop! Setup hours are from 5pm-8pm at [http://www.hubspot.com/company/contact/ HubSpot]. The goals for this evenin…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Welcome to the Friday evening section of the Boston Python Workshop! Setup hours are from 5pm-8pm at HubSpot.

The goals for this evening are:

  1. set up Python
  2. practice running Python code interactively and from a file
  3. practice printing in Python and using Python as a calculator
  4. get dependencies installed for the Saturday projects

Goal #1: set up Python

This section has instructions for installing Python and running Python from a terminal prompt.

  1. Windows
  2. OS X
  3. Linux

In addition to being able to run Python, you should pick the text editor you'll use for writing and saving Python code during the workshop.

  • On Windows, you might use NotePad. To start NotePad: click Start, point to Programs, point to Accessories, and then click Notepad.
  • On OS X, you might use TextEdit. To start TextEdit: search for TextEdit from Spotlight, or navigate to Applications/TextEdit.
  • On Linux, you might use GEdit. To start GEdit: click Applications, point to Accessories, and click Text Editor or you can start it from a terminal with:
gedit

Goal #2: practice running Python code interactively and from a file

Often in these directions, you'll need to type things at Python prompt. To get one:

  • On Windows: Start -> Run -> cmd.exe
    • Type this, and press enter:
    • \python27\python
  • On Linux or Mac OS:
    • Open a Terminal, and type 'python'

Goal #3: practice printing in Python and using Python as a calculator

Goal #4: get dependencies installed for the Saturday projects