Guest User

Untitled

a guest
Apr 25th, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. layer = QgsVectorLayer(Input_Layer, "ogr")
  2. fields = layer.pendingFields()
  3. field_names = [field.name() for field in fields]
  4.  
  5. [u'NAME_A', u'NAME_B', u'NAME_C']
  6.  
  7. [u'NAME_A', u'NAME_C']
Add Comment
Please, Sign In to add comment