Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 7a41638b5b183d0b9b27449d502d0a15001134ee authored by Benjamin Peterson on 04 April 2020, 16:54:14 UTC
Bump version to 2.7.18rc1.
Tip revision: 7a41638
mac.py
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()
back to top