Simulate main function in Python

This commit is contained in:
Matthew Brush 2014-05-03 21:22:00 -07:00
parent 1f67e42b12
commit f1923c79b4

View File

@ -3,11 +3,9 @@
#
{fileheader}
def main():
def main(args):
return 0
if __name__ == '__main__':
main()
import sys
sys.exit(main(sys.argv))