Introduction to python programming
Here is a primer on programming
Readings:
https://docs.python.org/3/tutorial/
http://www.scipy-lectures.org/intro/language/python_language.html
http://www.python-course.eu/python3_course.php
Extra reading and exercises:
http://rosalind.info bioinformatics oriented exercises.
http://www.pythonchallenge.com increasingly harder exercises, get creative!
https://learnpythonthehardway.org/book/
https://developers.google.com/edu/python/ If you speak any programming language other than Python this may bring you up to speed fast.
https://github.com/gregmalcolm/python_koans a philosophical approach to learning programming (recommended as the course ends).
General recommendations:
Don’t copy & paste code, retype it. This forces you to understand what is going on (and makes you not fail the exercise due to plagiarism)
When an error occurs, read it carefully. What has gone wrong? Why? Where?
Test your code. Try to break it. Find corner cases. Make sure it does what you want it to do.
Old Reading material
Additional material