I'm trying to select just the new vertices after using poke face, this is what I have so far, but it doesn't work if I use poke on multiple connected faces. Any ideas?
import bpy
bpy.ops.mesh.poke()
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='VERT')
bpy.ops.mesh.select_less()