Course notes for the Workshop August 2017:
- Thursday: Python lists, loops, how to code a program from start to finish: example "calculate Pi using the Monte Carlo method"
- Friday: Functions, reading and writing, plotting and other packages to make Python life easier
Course notes for the Workshop May 2013:
- Monday: UNIX introduction. On the first day, we explore the UNIX command line, learn about copying renaming, deleting, but also about extracting lines from files etc. (UNIX cheat sheet)
- Tuesday: Python baby steps: calculating Pi We learn the very basics of the programming language Python, and end the day with writing a full Python program to estimate the value of Pi using a Monte Carlo approach.
- Wednesday: Reading and Writing. We learn how to read from a file and write to a file using python.
- Thursday: Plotting. Python makes plotting easy and we can create nice XY-plots and histograms.
- Friday: Scipy/Numpy and other complications. Python has a small core but there are many modules that can be imported, modules for computation such as Scipy and Numpy are necessary if you want to do any serious computing with python. We learn about how to use these models.