Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: f8cdb5c56f6a14b62ffb3201de45f586fe3a6500 authored by cvs2svn on 02 February 2001, 21:24:51 UTC
This commit was manufactured by cvs2svn to create tag 'r21a2'.
Tip revision: f8cdb5c
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