Simulate main
function in Python
This commit is contained in:
parent
1f67e42b12
commit
f1923c79b4
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user