Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/anim/completeTest/ioexample.py
diff options
context:
space:
mode:
authorslm <slm@slm-laptop.(none)>2010-06-16 18:08:44 (GMT)
committer slm <slm@slm-laptop.(none)>2010-06-16 18:08:44 (GMT)
commit3e8b92b813f30c1713785441b200541821bb7ba4 (patch)
treea327868ab15b839759f15fcfc6d07df2bace5db4 /anim/completeTest/ioexample.py
parent600d775b70acb93cdd510676a003523c650671dc (diff)
Pushing the initial state of the complete test which will be temporarily located in /anim/completeTest
Diffstat (limited to 'anim/completeTest/ioexample.py')
-rwxr-xr-xanim/completeTest/ioexample.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/anim/completeTest/ioexample.py b/anim/completeTest/ioexample.py
new file mode 100755
index 0000000..020e09e
--- /dev/null
+++ b/anim/completeTest/ioexample.py
@@ -0,0 +1,20 @@
+#! /usr/bin/env python
+#
+print "\nWelcome to the master File Type Tester Interface"
+print "Authors: Scott 'JT' Mengel and Dave Silverman"
+print "\nPlease select the test(s) you want to run, in the order you want to run them, seperated by commas.\n"
+print "1. Simple File Type Variety Test, as images"
+print "2. Simple File Type variety Test, as sprites"
+print "3. Selected Scalability Test"
+file=open('./localfile','a')
+keyIn=0
+
+while 1:
+ try:
+ keyIn = int(raw_input(">"))
+ print "You have selected %i"%keyIn
+ file.seek(5)
+ file.write("File Accessed!%s"%str(keyIn))
+ break
+ except ValueError:
+ print "Error: out of bounds."