Everytime I write a new python program, I find myself writing the same initial lines over and over again:
#!/usr/bin/env python
'''
Description of the program
'''
import always, the, same, libraries
def helper_function(helpers_args):
'''
A function that is called in get_main_output, but that someone might want to import too.
'''
    continue
def get_main_output(program_arguments):
'''
Description of the main function
'''
    continue
if __name__ == '__main__':
    output = get_main_output(sys.argv)
I don't want to have to do it by hand everytime. I would like vim to show me this file everytime I open a nonexistent file with the extension .py, so that I can modify it as needed and then save it to my newly created source file.
How can I achieve this?
Apologies if the answer is already somewhere. I thought it would be, but I couldn't find it anywhere.


if __name__ == '__main__'?