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

« back to all changes in this revision

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

  • Committer: mattgiuca
  • Date: 2008-03-15 12:25:41 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:707
tutorialservice: "submit" requests now return "completed" and "attempts"
    fields as well. They query the DB for the completed and attempt stats.
tutorial.js: Handling the submit response: Now updates the summary bar,
    setting the ball to green and "Complete" if successful, and also updating
    the number of attempts made dynamically.

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
    out = open(sys.argv[1], "wb")
 
7
    out.write(sys.stdin.read())
 
8
    out.close()