You can just open it with a text editor and copy and paste the code. Sorry I wasn't sure how to save it so that others could just add it to the shelf. I'm just starting to learn python coding for maya, so that will be something I will have to look into. Sorry for the inconvenience.
qCylinderX and qSphere are free python scripts for Maya that (as the name suggests) create a cylinder and sphere with any number of sides and quadrilateral caps on both poles. qSphere even gives the user the option of creating a hemisphere instead. Video Demo: [vv]72163422[/vv] Again both are FREE on my site. Get them…