This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Procéder à l’installation ? [O/n] | |
(84/84) vérification des clés dans le trousseau [##############################] 100% | |
(84/84) vérification de l’intégrité des paquets [##############################] 100% | |
(84/84) chargement des fichiers des paquets [##############################] 100% | |
(84/84) analyse des conflits entre fichiers [##############################] 100% | |
erreur : la validation de la transaction a échoué (conflit de fichiers) | |
pyqt4-common : /usr/bin/pylupdate4 est déjà présent dans le système de fichiers | |
pyqt4-common : /usr/bin/pyrcc4 est déjà présent dans le système de fichiers | |
pyqt4-common : /usr/share/qt4/qsci/api/python/PyQt4.api est déjà présent dans le système de fichiers | |
python2-pyqt4 : /usr/bin/python2-pyuic4 est déjà présent dans le système de fichiers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import sys | |
def chromosome_initial(nb_genes=12, taille_gene=4): | |
chromosome ="" | |
for i in range(nb_genes): | |
for j in range(taille_gene): | |
chromosome += str(random.randint(0,1)) | |
return chromosome |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a = '''a = ''{0}'' # /\ | |
# /\/\ | |
def sierp(x): # /\ /\ | |
if x == 1: # /\/\/\/\ | |
yield '/%c' % 92 # /\ /\ | |
else: # /\/\ /\/\ | |
for i in sierp(x-1): # /\ /\ /\ /\ | |
yield i.center(2**x) # /\/\/\/\/\/\/\/\ | |
for i in sierp(x-1): # /\ /\ | |
yield i+i # /\/\ /\/\ |
NewerOlder