How to extract points with specific attributes from shapefile?

Discussion created by chloeas on Nov 14, 2013
Latest reply on Nov 14, 2013 by xander_bakker
Hey all,

So I have a point shapefile consisting of 5 columns  (ID, Description, X, Y, Z)  and 99 rows.
I already imported my shapefile into my python script.
I need to extract points from my shapefile but i only need the X,Y,Z attribute for each point.

I am not sure which function to use in order to do that.