Created
February 25, 2015 12:14
-
-
Save anonymous/01597554eb515f1f0d39 to your computer and use it in GitHub Desktop.
This file contains 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
import sys | |
from time import sleep | |
from threading import Thread | |
def communicator(): | |
print('This does not print') | |
sys.stdout.flush() | |
while(True): | |
#frame.evaluateJavaScript('document.getElementById("footer").appendChild(document.createTextNode("Hejjibejj"));') | |
#fr.evaluateJavaScript('alert("Yo");') | |
sleep(1) | |
print('Evaluated') | |
print('This prints 1') | |
Thread(target=communicator, args=[]) | |
print('This prints 2'); | |
sleep(5) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment