Using Python to add object with specified number of vertices? How, in Python, could I add an object with a specified number of vertices n, all of which are at, say, the origin (0,0,0)?
To do this:


Press Shift+C to position your cursor at the origin (0,0,0)
Follow this answer to create a mesh with a certain number of vertices