import Blender
from Blender import *

scn = Blender.Scene.GetCurrent()
ob = scn.objects.active

print ob

me = ob.getData(mesh=1)

#print me

# Get a fixed list of the number of verticies
# before editing begins
currentv = me.verts[:]
cc = len(currentv)


# THIS DOESN'T WORK !
#for i in range(0,cc):
#	me.verts.delete([i])
# Once a vertex is removed, its index is also
# removed, instantly


# THIS DOES WORK
j = 0
for i in range(0,cc):
	me.verts.delete([j])
# Keeps deleting the 1st vertex, repeats
# as many times as there were vertices
# initially


# Alternatively :
me.verts.delete(me.verts)
# This deletes ALL vertices (very fast)