Created
April 3, 2015 21:12
-
-
Save RonjaPonja/397656cc83e8032e7ef4 to your computer and use it in GitHub Desktop.
EH15 foo
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
#!/usr/bin/env python | |
import socket | |
import time | |
import random | |
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
s.connect(("94.45.224.223", 1234)) | |
print("connected") | |
while True: | |
for idxX in xrange(800): | |
for idxY in xrange(600): | |
magix = "PX " + str(idxX) + " " + str(idxY) + " ff0000\n" | |
s.send(magix) | |
s.close() | |
print("done") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment