The latest page is at itmetr.net.
last modified:
05:01 PM MDT, Sun 15 Jun 2008
Learning PythonMost of the tutorials and tasks at this site employ the Python programming language. This site does not provide a Python tutorial, instead you are referred to other sites for that education.
Python advocacyBut why has Python been adopted for this course? Why not something else? If this is a burning issue for you, then you may want to investigate:
Task for Spring 2006 You will need to put the following 3
files in a folder/directory where you intend to use Python (firstpy might be
an appropriate name). This task
does not need any of the meteorological data on Gentry, and should be doable
on almost any computer that has a recent version of Python installed.
If you plan to use your Python programs in both Windows and
Linux, beware of the extra invisible "carriage return" character
in Windows text files.
chmod u+x *.py makePickle.py latest.mdf playmeso.py latest.mdf.pickleIf you use IDLE on Windows, open makePickle.py under the IDLE menu File,Open. Then use the Run menu in the new window that opened. Enter latest.mdf when prompted. (Similarly, enter latest.mdf.pickle when prompted by playmeso.py). If the scripts worked okay, then prepare to make modifications of playmeso.py. First, make a copy to a new file. For example, on Linux: cp playmeso.py mymods.pyOpen mymods.py with a text editor or with IDLE. Read the comments on how to complete the sub-tasks. One of the sub-tasks requires making a file new.pickle. You can test to see if you created new.pickle correctly with the little script: pickinsp.py. Also, to clarify what the goals are, my completed mymods.py dumps this standard output to the monitor, and makes these files: offenders.dat and missmeas.dat. Executing pickinsp.py new.picklemakes this output. |