Python


Basic tutorials for Learning Python

Here are a few links to online Python tutorials to help get you started. I haven't used these - I learned from a book ("How to Think Like a Computer Scientist"). If you try them, let me know if they're any good. If you have other resources, let me know and I'll add them.



Other programming resources, but not Python. Most programming languages are quite similar. You could learn JavaScript from Khan Academy and the programming principles will be the same. From there it's a just a small set of differences to learn the details of Python.



Other Programming Resources

The links below provide short articles and/or tutorials about particular coding standards I want you to use in this class.

  • Flow Charts - Flow Charts are graphical charts that diagram the logic used to solve a complex problem or illustrate a complex process. They are often very helpful in decomposing a complex problem into manageable, simpler sub-problems. In this class I will require you to implement a flow chart that illustrates how your program is structured and how it works. The link takes you to a good introduction on flow-charting.
  • Code Structure - A diagram/discussion of how I want you to structure the code you write for your assignments.
  • Doctests - A short tutorial on what a doctest is and how to use them in your code.
  • Style Guide - A discussion on how to format the details of your code like remarks, whitespace, equations, etc.  This document is a smaller edited version of the "official" python coding style guide.
  • Python Mini Projects - Here are a few small projects that will help you focus on discrete Python programming skills such as if-then statements, looping, tuples and arrays, and basic 2D graphics. These were the projects students worked on when I taught programming.

Python Quick Reference

The following links take you to the Tutorials Point website which has an excellent set of tutorials on Python. I really like this site - it's well organized, concise, and easy to understand.  I think you'll find these links useful as you work on the assignments.
Showing 10 items
ResourceLinkNotes
Sort 
 
Sort 
 
Sort 
 
ResourceLinkNotes
Python Documentation http://www.python.org/doc/ Complex, but it's the "official" documentation 
Python Style Guide http://www.python.org/dev/peps/pep-0008/ Standards for making your code readable and prettier 
Python Quick Reference Guide http://www.tutorialspoint.com/python/index.htm This is a pretty good one - good examples 
Download Python http://www.python.org/download/releases/ We're using v2.6.* in class 
Download Cygwin http://www.cygwin.com/ Provides many handy Linux-style commands like 'ls' etc. for Windows. Useful when we learn interaction with the OS. 
Designing with Flowcharts http://users.evtek.fi/~jaanah/IntroC/DBeech/3gl_flow.htm How to use flowcharts to design your code 
Khan Academy Python Video Tutorials http://www.khanacademy.org/science/computer-science/#science/computer-science Supplemental lectures on Python programming concepts from the king of online lectures. 
Think Like a Computer Scientist http://openbookproject.net//thinkCSpy/ A free online textbook (also in PDF form below). 
Python Idioms http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html The "pythonic" way to write code 
Learn Python the Hard Way http://learnpythonthehardway.org/book/ The hard way can be easier for some people. 
Showing 10 items
Ċ
Nikhil Joshi,
Dec 12, 2016, 10:33 AM
Ĉ
Nikhil Joshi,
Dec 12, 2016, 10:33 AM
Ċ
Nikhil Joshi,
Dec 12, 2016, 10:33 AM
Ĉ
Nikhil Joshi,
Dec 12, 2016, 10:34 AM
Ċ
Nikhil Joshi,
Nov 13, 2014, 11:11 AM
ĉ
Nikhil Joshi,
Oct 5, 2012, 12:02 PM
Ċ
Nikhil Joshi,
Oct 5, 2012, 9:22 AM