Staging
v0.5.1
https://github.com/python/cpython
Revision 952e735ce496177b1aabc9ebe7df972eb16fd8b6 authored by Guido van Rossum on 14 October 2002, 20:11:50 UTC, committed by Guido van Rossum on 14 October 2002, 20:11:50 UTC
1 parent dacbafb
Raw File
Tip revision: 952e735ce496177b1aabc9ebe7df972eb16fd8b6 authored by Guido van Rossum on 14 October 2002, 20:11:50 UTC
News about last-minute fix for SF bug 620705 (urlparse).
Tip revision: 952e735
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