ClockworkCoder
Chaotic Neutral
It was nice knowing you. What would you like as an epitaph?It's Idoha's birthday tomorrow. If I don't survive please make sure I get a decent burial.
It was nice knowing you. What would you like as an epitaph?It's Idoha's birthday tomorrow. If I don't survive please make sure I get a decent burial.
What would you like as an epitaph?
"Life ? Don't talk to me about life."What would you like as an epitaph?
Lol, thanks Marvin."Life ? Don't talk to me about life."
import time
secs = time.time()
secstr = str(secs)
while True:
tf = open("seconds","w")
tf.write(secstr)
tf.close()
time.sleep(10.0)
import time
secstr = str(time.time())
while True:
with open("seconds", 'w') as tf:
tf.write(secstr)
time.sleep(10.0)
Yeah, I know... I'm working on it. I will learn eventuallyThanks for the tip. Looks like someone needs more practice.
but you could just write in "a", over and over again, with the same effect.
@echo off
:start
copy NUL D:\nsleep.txt
del D:\nsleep.txt
TIMEOUT /T 10 /NOBREAK
goto start
while [ 1 ]; do sleep 10; touch ~/file; done