An Introduction to Programming

This lecture, by Renée Spiewak, provides students with introductions to the programming environments that they will be using in tutorials during this workshop. It includes basic Unix command line tips and tricks, as well as exposure to shell scripting. The lecture also introduces students to the Python programming environment and its basic syntax. All the commands and softwares used in this lecture and throughout the workshop come pre-installed on the virtual machine.

Share this

Slides

Exercises 

The data and exercises for all workshop lectures can be downloaded (and extracted) to the shared directory in your virtual machine as described here.

Within the downloaded /home/pulsar/SHARE/exercises/lec3_programming directory on your virtual machine you will find the jupyter notebook MKPW_python_basics.ipynb which will introduce you to basic python commands.

Launch the notebook by running,

jupyter notebook MKPW_python_basics.ipynb

which will automatically launch the notebook in a browser in your virtual machine.

Note: this exercise does not yet rely on having pulsar software installed. If you have the relevant python modules installed you may also be able to run it outside of the virtual machine.