~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to file-tools/cat-from.py

  • Committer: William Grant
  • Date: 2009-01-20 05:03:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: grantw@unimelb.edu.au-20090120050355-1tm3j13zazd9ik32
ivle.worksheet: Add a save_exercise function.
www/apps/tutorialservice: Import db.TIMESTAMP_FORMAT locally.
    Remove last reference to ivle.db, replacing it with save_exercise.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import sys
4
 
 
5
 
if __name__ == "__main__":
6
 
    inf = open(sys.argv[1], "rb")
7
 
    sys.stdout.write(inf.read())
8
 
    inf.close()