EvilZone
Programming and Scripting => Scripting Languages => : taters July 30, 2014, 06:58:32 PM
-
Pretty much speaks for itself.
import random
import time
import datetime
count = 1
while count:
seconds = datetime.datetime.now()
wait = random.uniform(0.1,2)
if seconds.second % 5 > 0:
print "wub"
else:
print "GRAWWOOOLLLRRRAAANGANG"
time.sleep(wait)
-
He's my idol!
-
I love it. But much too slow. That's how my grandma would create dubstep with her walking frame.
-
Just wait for version 2.0
-
Why define "count" to be one, and not simply do:
while 1:
?
Anyway, lulz at the script.
-
Why define "count" to be one, and not simply do:
while 1:
?
Anyway, lulz at the script.
Because I originally had it set to 100 and had the loop subtract 1 every cycle, but it appeared to be funnier with it being an endless loop. I went with the first thing that popped into my head.
-
Wait, since when does taters code? i swear this is my first code shit i have ever seen from taters. I should get out of this shit hole of Africa; i am way too behind.
-
Wait, since when does taters code? i swear this is my first code shit i have ever seen from taters. I should get out of this shit hole of Africa; i am way too behind.
I was a professional programmer for 3 years before moving into systems administration and then security. I just don't often show off.
Also, I decided to learn a bit of python a few days ago and was bored. So that helps too.