All pastes #54185 Raw Edit

getquote.c

public python v1 · immutable
#54185 ·published 2006-05-08 03:50 UTC
rendered paste body
from sys import argvimport sys# define getquote functionality heredef getquote(symbol): passdef main():	try:		symbol = argv[1]	except IndexError:		sys.err.write('Must provide symbol on command line.')	getquote(symbol)if __name__ == '__main__': main()