How to find global position of vertices

Does anybody know of a function that can find the location of vertices in an object in global coordinates?

def get_world_coord(obj,localCoord):
        worldVector = mathutils.Vector(obj.location)
        localVector = mathutils.Vector(localCoord)
        resultVector = mathutils.Vector(worldVector + localVector)
        return (resultVector)

i can’t remember who wrote this snippet, it was someone from #blenderpython.

Thank you.