Lecture by Professor Jerry Cain for Programming Paradigms (CS107) in the Stanford University Computer Science department. In this lecture, Prof. Cain discusses the Python dictionary and illustrates a small program containing the imperative, object-oriented, and functional paradigms.
Programming Paradigms (CS107) introduces several programming languages, including C, Assembly, C++, Concurrent Programming, Scheme, and Python. The class aims to teach students how to write code for each of these individual languages and to understand the programming paradigms behind these languages.
Complete Playlist for the Course:
http://www.youtube.com/view_play_list?p=9D558D49CA734A02
CS 107 Course Website:
http://www.CS107.stanford.edu/
Stanford University:
http://www.stanford.edu/
Stanford University Channel on YouTube:
http://www.youtube.com/stanford/
sys.out.write should read sys.stdout.write() .. interesting thing about this is that if you try help(sys.stdout) you won't get what you need. Instead you should use help(sys.__stdout__). Somewhere along the lines the function must have been renamed --
jmbrackman 2 years ago