Skip to content

Instantly share code, notes, and snippets.

@snaewe
Created August 23, 2012 09:14
Show Gist options
  • Save snaewe/3434527 to your computer and use it in GitHub Desktop.
Save snaewe/3434527 to your computer and use it in GitHub Desktop.
# Eine einfache Ausgabe von Membern eines Objektes erreicht man mit
# (vorausgesetzt objekt.intMember und objekt.strMember existieren)
print "%(intMember)d %(strMember)s" % vars(objekt)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment