Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f7adf2f473966ef33f6079ceb7115cb6cde3b521 authored by cvs2svn on 08 September 2001, 21:38:26 UTC
This commit was manufactured by cvs2svn to create tag 'r22a3'.
Tip revision: f7adf2f
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