Skip to content

Instantly share code, notes, and snippets.

@bussiere
Created February 23, 2012 16:51
Show Gist options
  • Save bussiere/1893720 to your computer and use it in GitHub Desktop.
Save bussiere/1893720 to your computer and use it in GitHub Desktop.
profil de bussiere
class Bussiere_1_01(object):
def __init__(self):
self.name = "bussiere"
self.age = 27
self.age_affectif = 10
self.signe_chinois = "coq"
self.defauts = ["Obsede","Vantard","Besoin constant de se montrer","\"lourd\"","Toujours envie d'aider les gens parfois un peu trop","Trop bavards parfois"]
self.qualites = ["Calin","Attentionne","Protecteur","Tendance a aider les gens","gentil"]
self.competences =["Serrurie":10,"Shibari":12,"Python":13,"Capoeira":12,"Photo":11,"Escalade":12,"Taijutsu":11,"Comedie":13, "Baratin":14,"Discussion":14,"Conduite":7,"Cuisine":12,"Informatique":13,"Jeux":12,"Medecine":6,"Electricité":10,"Graphisme":8,"Comptabilite":8,"Droit":10,"Fiscalité":11,"Bricolage":11,"Musique":10]
self.interet = ["manga": ["clamp","blame","GITS"],"anime":["Haruhi","GITS","Hellsing","Hanaukyo maid"],"livre":["gaiman","pratchett","hard science","sf"]]
def caliner(self,personne=""):
print("%s caline %s"%(self.name,personne))
def proteger(self,personne=""):
print("%s protege %s"%(self.name,personne))
def servir(self,personne=""):
print("%s sert %s"%(self.name,personne))
def maturation(self):
while self.age_affectif < self.age :
self.age_affectif += random.randint(0,1)
print("en cour de maturation")
id_112573 = Bussiere_1_01()
print(id_112573.defauts)
id_112573.maturation()
letter = pickle.dumps(id_112573)
letter = zlib.compress(letter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment