2014-04-22 16:40:48 +02:00
|
|
|
|
|
|
|
import sys
|
|
|
|
from time import sleep
|
|
|
|
|
|
|
|
f = open(sys.argv[1], "w")
|
|
|
|
|
|
|
|
s = ""
|
2014-04-22 17:31:25 +02:00
|
|
|
while len(s) < 11520:
|
2014-04-22 16:40:48 +02:00
|
|
|
s += "1"
|
|
|
|
|
|
|
|
print("Sending to %s" % sys.argv[1])
|
|
|
|
while(True):
|
2014-04-22 17:31:25 +02:00
|
|
|
f.write(s);
|
|
|
|
f.flush();
|
|
|
|
#for i in range(len(s)):
|
|
|
|
# f.write(s[i])
|
|
|
|
# f.flush()
|
|
|
|
# #sleep(0.050)
|
2014-04-22 16:40:48 +02:00
|
|
|
sys.stdout.write(".")
|
|
|
|
sys.stdout.flush()
|