Exercise 1: Anaconda, OCF and Survey
- Due Aug 27, 2017 by 11:59pm
- Points 5
- Submitting a file upload
Exercise 1 has three parts. First, sign up for an OCF account. Second, install Anaconda on your own personal laptop or desktop computer, then verify that IPython/Jupyter Notebook is working. If you do not have a computer, that's ok - it might be a little inconvenient, but you can use the lab computers for this course. If you will be using only the lab computers and not your own computer, email Arezoo directly to let her know. Finally, the last part of this assignment is filling out the student info sheet and submit it via bcourses upload.
Materials for today's session are in a zip file here: Week 01 - Intro and Course Overview.zip Download Week 01 - Intro and Course Overview.zip
Preliminaries
- Read the Anaconda QuickStart guide: https://docs.continuum.io/anaconda/install Links to an external site.
- Read the Jupyter Notebook overview: http://jupyter-notebook.readthedocs.io/en/latest/notebook.html Links to an external site. Links to an external site.
- If you're not already comfortable with the command prompt (windows) or terminal (mac), read: http://dosprompt.info/ Links to an external site. or http://guides.macrumors.com/Terminal Links to an external site. to familiarize yourself with the basic commands (such as changing directories and listing the contents of a directory) discussed in these links so that you can use the command prompt/terminal to access Python.
OCF
- Sign up for an OCF account at: https://wiki.ocf.berkeley.edu/membership/
- Do this TODAY because it can take a week+ to get your account created in the system! We will use these accounts to set up a blog to submit/publish your work in this class.
- Take a screenshot of the confirmation that you requested an account, and save it to your computer. If you don't know how, just Google it!
Anaconda
- Download the Anaconda installer for Python 3.6 from https://store.continuum.io/cshop/anaconda/ Links to an external site.
- Make sure you download the correct installer for your operating system (Windows, Mac, Linux, etc) and architecture (32 or 64 bit). If you don't know if your operating system is 32 or 64 bit, Google for how to check it. And make sure you download the installer for Python 3.6, not 2.7.
- Run the Anaconda installer.
- In the Anaconda installer dialog, choose to install for all users, set the destination folder to c:\anaconda (or the equivalent if you're on a Mac), and make sure both tick boxes are ticked for "add anaconda to the system path" and "register anaconda as the system python"
Jupyter Notebook
- Open your command prompt (windows) or terminal (mac). If you don't know how, just Google it!
- run: jupyter notebook
- You should see the Jupyter server running in your browser. Click "New" > "Python 3"
- You are now in a new Jupyter notebook. In the first cell, type: print ("Hello World!")
- Hit shift + Enter to run the cell (it should print Hello World if things are working properly)
- Take a screenshot and save it to your computer
All done! Now just submit your two screenshots (OCF confirmation, and IPython notebook), and your student info form via bcourses upload.