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 Monet Carlo method"
- Friday: Functions, reading and writing, plotting and other packages to make python life easier
Course notes for the Workshop in 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 cheatsheet)
- 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.