Skip to content

Instantly share code, notes, and snippets.

@PirosB3
Created April 26, 2014 17:08
Show Gist options
  • Save PirosB3/11325372 to your computer and use it in GitHub Desktop.
Save PirosB3/11325372 to your computer and use it in GitHub Desktop.
class testClass(object):
numero = 5
def __init__(self, string):
self.stringa = string
def printClass(self):
print "Numero = %d" % self.number
print "Stringa = %s" % self.stringa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment