You are here:

Hands-on Introduction to Python (4 part series)

LOCATION: INSCC Auditorium (Room 110)

1:00-3:00pm

Part 1: Python, part 1: Tuesday, October 16, 2108 
Part 2: Python, part 2: Thursday, October 18, 2018  
Part 3 - Numpy, part 1: Tuesday, October 23, 2018 
Part 4 - Numpy, part 2: Thursday,October 25, 2018 

Presented by Wim Cardoen and Brett Milash

To join via Zoom:

 https://utah.zoom.us/j/4111783659

meeting ID 411 178 3659

To call  in:

 +1 408 638 0968
+1 646 876 9923
+1 669 900 6833

Each of these sessions is two hours. 

During the first two sessions we will introduce the key concepts of the Python language: variables, functions, control structures, IO, exception handling as well the concept of object-oriented programming.

During the third and fourth sessions, we will focus on how Python can be used in a scientific environment by using Numpy and SciPy. 

To participate in the hands-on exercises:

a. You will need to a laptop with a functional connection to the campus WiFi (or any internet connection if you attend via Zoom).

b. Log in to one of our Jupyter Hub servers.

If you have a U of Utah uNID: log in to https://juno.chpc.utah.edu/ using your uNID and its password.

If you do not have a U of Utah uNID: log in to https://pythonclass.chpc.utah.edu/ using a valid email address as a login, and enter any password to set up your account. Note: the pythonclass server will only be running during class. It is not a secure environment, and should only be used for class activities. Files in your account will be emailed to the email address used as your login at the conclusion of the class.

c. Once you have logged in to one of the Jupyter Hub servers, open a terminal from the New >> Terminal menu option on the right. At the "$" prompt, enter the command:

git clone https://github.com/CHPC-UofU/python-lectures.git

Once the git command completes you should have a new directory named "python-lectures". You can close the terminal window tab in your web browser.

d. Back in the main Jupyter tab of your browser, click on "python-lectures", then "notebooks", and finally "hands_on_intro_to_python.ipynb".

The slides have been updated! To merge the changes with your slides:

https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
https://github.com/CHPC-UofU/python-lectures.git
  1. Log in to the same server (juno or pythonclass) that you used previously.
  2. From the "New" menu on the right select "Terminal".
  3. In the terminal window execute these commands:
cd python-lectures
git commit -a -m "updating slides"
git fetch
git merge --no-commit

If you just want the updated slides, and don't want to merge with any changes you have made simply do this:

rm -rf python-lectures
git clone https://github.com/CHPC-UofU/python-lectures.git
Last Updated: 10/18/18