I like it. It’s so simple and flexible. Define it with none, then assign sys.argv in place of argv.
This is useful if you need to look at the last arguments before deciding what to do, possibly for interoperability with some older code where the order of command line arguments is already set in stone.
Fifty million ways to get the hostname, choose one. But I couldn’t find a way to get the shortname without a system call to ‘hostname -s’. This is the best I could come up with, which would work with any of the above methods.