Issue #7205: Fix a possible deadlock when using a BZ2File object from several threads...
[python.git] / Demo / pdist / mac.py
blob107113c18a895370af70233664fcc51593df90d0
1 import sys
2 import string
3 import rcvs
5 def main():
6 while 1:
7 try:
8 line = raw_input('$ ')
9 except EOFError:
10 break
11 words = string.split(line)
12 if not words:
13 continue
14 if words[0] != 'rcvs':
15 words.insert(0, 'rcvs')
16 sys.argv = words
17 rcvs.main()
19 main()