diff options
| author | comex <comexk@gmail.com> | 2009-02-17 23:46:31 -0500 |
|---|---|---|
| committer | comex <comexk@gmail.com> | 2009-02-17 23:46:31 -0500 |
| commit | 5089b4a5cd8b40a02187b4969bd97fba81f9d8f1 (patch) | |
| tree | 6bf871dfc15f02975e49b00997432ee3c4ad04c6 /write-brlyt.py | |
| parent | 8504fb221559b57e38650be3a88bfafa02bf0998 (diff) | |
Helpfulness.
Diffstat (limited to 'write-brlyt.py')
| -rw-r--r-- | write-brlyt.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/write-brlyt.py b/write-brlyt.py index 3ff94bc..b0119bb 100644 --- a/write-brlyt.py +++ b/write-brlyt.py @@ -1,6 +1,12 @@ import sys, struct, re, random from ethyl import * +if len(sys.argv) != 2: + print 'Usage: python write-brlyt.py input.rlyt.py output.brlyt' + print '(for example, see test.rlyt.py)' + sys.exit(1) + + f = open(sys.argv[1], 'r') chunks = eval(f.read()) f.close() |
