Search this site
Embedded Files
Jessica Leung
  • Home
    • Research
    • Teaching
      • Python Workshop for staff (Intensive)
      • Python Workshop for students (2020S1)
      • Python Installation for BA students
      • Using Gurobi with R and Python
Jessica Leung

Python Workshop for students (2020S1)

View the Project on GitHub

jessica-wyleung/python_workshop_students

Research

Teaching

Contact

Python Workshop for students (2020S1)
Anaconda Python Installation
Installing Other Packages
Start using Jupyter Notebook
Workshop materials
Github project: python_workshop_students
Other useful links

Anaconda Python Installation

Python is a popular language for research computing, data science AND and general-purpose programming. We recommend using Anaconda, an all-in-one installer of python and many of it's most useful packages for scientific computing. Please make sure you install Python version 3.x (e.g., 3.6 is fine).

We will teach Python using the Jupyter notebook, a programming environment that runs in a web browser. For this to work you will need a reasonably up-to-date browser. The current versions of the Chrome, Safari and Firefox browsers are all supported (some older browsers, including Internet Explorer version 9 and below, are not).

Windows

  1. Open (https://www.anaconda.com/download/#windows) with your web browser.
  2. Download the Python 3 installer for Windows.
  3. Install Python 3 using all of the defaults for installation except make sure to check Add Anaconda to my PATH environment variable.

macOS

  1. Open (https://www.anaconda.com/download/#macos) with your web browser.
  2. Download the Python 3 installer for OS X.
  3. Install Python 3 using all of the defaults for installation.

Installing Other Packages

Conda is an open source package management system and environment management system that runs on Windows, macOS and Linux. Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer. At this stage, no other packages are required.

Start using Jupyter Notebook

Windows

  1. Open the Anaconda prompt. You should see a black box.
  2. Copy/paste the following command into the prompt and press Enter: jupyter notebook
  3. The Jupyter notebook interface should pop up with your default browser.

macOS

  1. Open a terminal window (Find the "Terminal" app in you Applications or use Spotlight search to search for terminal). You should see a white box.
  2. Copy/paste the following command into the terminal and press Return: jupyter notebook
  3. The Jupyter notebook interface should pop up with your default browser.

Workshop materials

Github project: python_workshop_students

jessica-wyleung/python_workshop_students

You can download the all the Jupyter notebooks and files we need for the workshop from Github.

These workshop materials are of three parts:

  • Introduction to Python
  • Functions, Numpy and Pandas
  • Regressions

Other useful links

Here is a Python language companion that may help you enjoy your journey.

If you encounter any errors with either of the above commands, please let us know via email at jessica.leung@sydney.edu.au

Google Sites
Report abuse
Page details
Page updated
Google Sites
Report abuse