Skip to content

Instantly share code, notes, and snippets.

@timlinux
Created March 30, 2013 18:22
Show Gist options
  • Save timlinux/5277770 to your computer and use it in GitHub Desktop.
Save timlinux/5277770 to your computer and use it in GitHub Desktop.
>>> myFeature.fields().toList()
[]
>>> myFeature.attributes()
[<PyQt4.QtCore.QVariant object at 0x4dd0600>, <PyQt4.QtCore.QVariant object at 0x4dd0670>, <PyQt4.QtCore.QVariant object at 0x4dd07c0>, <PyQt4.QtCore.QVariant object at 0x4dd0830>, <PyQt4.QtCore.QVariant object at 0x4dd0210>, <PyQt4.QtCore.QVariant object at 0x4dd0130>, <PyQt4.QtCore.QVariant object at 0x4dd02f0>, <PyQt4.QtCore.QVariant object at 0x4dd0360>, <PyQt4.QtCore.QVariant object at 0x4dd0440>]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment