Boston Python workshop 2/Friday setup

From OpenHatch wiki

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

When you get to HubSpot, please start your laptop and get on the wireless network. Then work through the goals on this page in order; they should take between 2 and 3 hours. Lots of staff will be around to help troubleshoot and to answer questions -- don't hesitate to ask!

At the end, a staff member will go through a checklist with you to make sure you're all set for tomorrow.

Goal #1: set up Python

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

Goal #2: Prepare a text editor

In addition to being able to run Python, we are going to install a good text editor for writing and saving Python code during the workshop.

Goal #3: 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:
    • python
    • Then type this and press enter:
    • exit()
  • On Mac OS:
    • Start 'Terminal' (open Finder, and go to Applications, then Utilities, and double click on Terminal)
    • Type this, and press enter:
    • python
    • Then type this and press enter:
    • exit()
  • On Linux:
    • Open a Terminal (in Ubuntu, go to Applications then Accessories, and click on Terminal):
    • Start 'Terminal' (open Finder, and go to Applications, then Utilities, and double click on Terminal)
    • Type this, and press enter:
    • python
    • Then type this and press enter:
    • exit()

Goal #4: get dependencies installed for the Saturday projects

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

Boston Python workshop 2/Friday tutorial


Goal #6: Checkoff