Our Advanced Python course uses Jupyter Notebook, a web application for writing, learning and documenting Python code.
Operating System Requirements
PC: Windows 10 or later or Mac: OS X Mountain Lion (version 10.8) or later.
Our Advanced Python course requires Anaconda, a free Python distribution that includes many commonly used Python packages. Follow the instructions below to install Anaconda
- Go to the Anaconda download page.
- Choose your operating system.
- Under "Python 3.7" click on the Download button.
- Click on the .exe file you just downloaded and follow the installation instructions.
Test your Installation
Test your installation by opening a command prompt and entering the following:
cd \ mkdir Webucator cd Webucator Jupyter Notebook
- Click New > Python 3 to start a new notebook:
- A new browser tab should open with a new untitled notebook:
- Click on Untitled to pop up a Rename Notebook prompt. Name your new notebook "Temp":
%load http://bit.ly/pyt211-pyin the first cell:
- Press Ctrl+Enter to load a script:
- Press Ctrl+Enter again to run the script. You will be prompted to enter a Course ID, which is most likely PYT211. If you are setting up for an private onsite class, please confirm the Course ID with your Webucator contact.' Enter the ID and press Enter.
- Once the files are downloaded and unzipped, which may take a minute, the number 1 or number 2 will appear in the square brackets to the left of cell 1:
- Close this tab and return to your Jupyter Notebook Home tab. It should include the ClassFiles folder. If it doesn't, you may need to refresh the listing:
In this course, you'll learn to access APIs with Python. We'll demonstrate this with the OpenWeatherMap API. It is free, but it requires an API key, which you should get before class by signing up at http://home.openweathermap.org/users/sign_up. After signing up, you should see an API key. Save that key somewhere where you can access it during class.