Pinboard bookmarks for February 26th

Pinboard links for February 26th, syndicated automagically:

  • Online Python Tutor – This application supports the core Python 2.5 language, with no module imports or file I/O. It's meant to be used as a platform for creating programming tutorials, not for running or debugging production code.
  • Software Carpentry » Classes and Objects – Classes and Objects
    Object-oriented programming in Python.
    Requires: Python
    Introduces: Python objects and classes

    Motivating questions:

    I have a complex program which has lots of duplicated code, is there any way to simplify it?
    How do I change the behavior of one part of my program without affecting the rest of it?

  • Basic Python Exercises – Google’s Python Class – Google Code – There are 3 exercises that go with the first sections of Google's Python class. They are located in the "basic" directory within the google-python-exercises directory. Download the if you have not already (see the Set-Up page for details). — complete the string functions in, based on the material in the Python Strings section (additional exercises available in — complete the list functions in, based on the material in the Python Lists and Python Sorting sections (additional exercises available in — this larger, summary exercise in combines all the basic Python material in the above sections plus Python Dicts and Files (a second exercise is available in
    With all the exercises, you can take a look at our solution code inside the solution subdirectory.
  • Python Introduction – Google’s Python Class – Google Code – Python is a dynamic, interpreted language. Source code does not declare the types of variables or parameters or methods. This makes the code short and flexible, and you lose the compile-time type checking in the source code. Python tracks the types of all values at runtime and flags code that does not make sense as it runs. (todo: link here to the companion video segment for this section)

Comments are closed.