A real noob question.
I just wrote my first Hello World ! python program
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main():
print ('Hello World !')
return 0
if __name__ == '__main__':
main()
Unfortunately, when I launch it, it opens the terminal for a fraction of a second. How to avoid that it exits straight.
I look for something like pause
in Windows command line.