summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/resources/copyres.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/resources/copyres.py')
-rw-r--r--Mac/Demo/resources/copyres.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Demo/resources/copyres.py b/Mac/Demo/resources/copyres.py
index 528ff16..cb1fa8e 100644
--- a/Mac/Demo/resources/copyres.py
+++ b/Mac/Demo/resources/copyres.py
@@ -6,6 +6,12 @@ READ = 1
WRITE = 2
smAllScripts = -3
+def raw_input(prompt):
+ import sys
+ sys.stdout.write(prompt)
+ sys.stdout.flush()
+ return sys.stdin.readline()
+
def copyres(src, dst):
"""Copy resource from src file to dst file."""