#/. /usr/bin/python2.7
#Please run this script under python 2.something.
#this script depends on python modules subprocess, random, Tkinter, and time.
#Also depends on the Linux program beep because I am a lazy bum.
print "press space to pause, escape to quit"
print "WARNING: pause WILL take a few beats to take effect... that's on purpose."
onyva=raw_input('press ENTER to start')
from subprocess import call
import random
from Tkinter import *
import time
if __name__ == "__main__":
root = Tk()
# root.withdraw() # don't show the tkinter window; depending on your window manager, you may need to uncomment this
PaceGiver(root)
root.mainloop()
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
PiLS
Version alternative, moins tendre mais plus sportive sur la fin; il en faut pour tous les gouts. Ma princesse préfère.
Il y a un bug non résolu dans la version précédente (une division par zéro dans certains cas, ligne 28). Je suis au courant, ranafout. Le patch c'est un check pour quand ((int(random.random() * 3)) + 3) == score/100. 10 secondes à taper mais j'ai la flemme, démerdez-vous
#/. /usr/bin/python2.7 #Please run this script under python 2.something. #this script depends on python modules subprocess, random, Tkinter, and time. #Also depends on the Linux program beep because I am a lazy bum. print "press space to pause, escape to quit" print "WARNING: pause WILL take a few beats to take effect... that's on purpose." onyva=raw_input('press ENTER to start') from subprocess import call import random from Tkinter import * import time
if __name__ == "__main__": root = Tk() # root.withdraw() # don't show the tkinter window; depending on your window manager, you may need to uncomment this PaceGiver(root) root.mai+loop()
-- PiLS
Version alternative, moins tendre mais plus sportive sur la fin; il
en faut pour tous les gouts. Ma princesse préfère.
Il y a un bug non résolu dans la version précédente (une division
par zéro dans certains cas, ligne 28). Je suis au courant, ranafout.
Le patch c'est un check pour quand
((int(random.random() * 3)) + 3) == score/100.
10 secondes à taper mais j'ai la flemme, démerdez-vous
#/. /usr/bin/python2.7
#Please run this script under python 2.something.
#this script depends on python modules subprocess, random, Tkinter, and time.
#Also depends on the Linux program beep because I am a lazy bum.
print "press space to pause, escape to quit"
print "WARNING: pause WILL take a few beats to take effect... that's on purpose."
onyva=raw_input('press ENTER to start')
from subprocess import call
import random
from Tkinter import *
import time
if __name__ == "__main__":
root = Tk()
# root.withdraw() # don't show the tkinter window; depending on your window manager, you may need to uncomment this
PaceGiver(root)
root.mai+loop()
Version alternative, moins tendre mais plus sportive sur la fin; il en faut pour tous les gouts. Ma princesse préfère.
Il y a un bug non résolu dans la version précédente (une division par zéro dans certains cas, ligne 28). Je suis au courant, ranafout. Le patch c'est un check pour quand ((int(random.random() * 3)) + 3) == score/100. 10 secondes à taper mais j'ai la flemme, démerdez-vous
#/. /usr/bin/python2.7 #Please run this script under python 2.something. #this script depends on python modules subprocess, random, Tkinter, and time. #Also depends on the Linux program beep because I am a lazy bum. print "press space to pause, escape to quit" print "WARNING: pause WILL take a few beats to take effect... that's on purpose." onyva=raw_input('press ENTER to start') from subprocess import call import random from Tkinter import * import time
if __name__ == "__main__": root = Tk() # root.withdraw() # don't show the tkinter window; depending on your window manager, you may need to uncomment this PaceGiver(root) root.mai+loop()