Have you taken a look at this github project? https://github.com/vmware/pyvmomi-community-samples
Lots of samples are provided here, if you are looking for something not already provided by the project please open an issue on github and maybe someone from the community will provide it for you.