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} {fileheader}
def main(args):
def main():
return 0 return 0
if __name__ == '__main__': if __name__ == '__main__':
main() import sys
sys.exit(main(sys.argv))