Boston Python workshop 2/Friday setup
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.
If you would like to use a different text editor from the recommendation for your operating system, please let a staff member know.
Goal #3: practice running Python code interactively
We'll do a lot of learning and practicing at a Python prompt (this is "interactive" because you are typing the code and hitting enter to run it yourself, instead of running it from a file). So let's practice starting and exiting Python:
- 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 #5: practice running Python code from a file (a "Python script")
Goal #6: get dependencies installed for the Saturday projects
Goal #7: practice printing in Python and using Python as a calculator
Boston Python workshop 2/Friday tutorial