Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 16c8eccfcf85811d1d9368aacb94b47ae8195719 authored by cvs2svn on 31 December 1997, 05:53:15 UTC
This commit was manufactured by cvs2svn to create tag 'release15'.
Tip revision: 16c8ecc
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