summaryrefslogtreecommitdiff
path: root/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/mac.py
blob: 43a904e480c6e6a7113effdf25ebadee2875c65b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import sys
import string
import rcvs

def main():
    while 1:
        try:
            line = raw_input('$ ')
        except EOFError:
            break
        words = string.split(line)
        if not words:
            continue
        if words[0] != 'rcvs':
            words.insert(0, 'rcvs')
        sys.argv = words
        rcvs.main()

main()