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 subprocess | |
import sys | |
import tempfile | |
from Cython.Compiler import Main, CmdLine, Options | |
in_file_name = sys.argv[1] | |
source = open(in_file_name).read() | |
out_file_name = in_file_name.replace('.py', '.out') | |
temp_py_file = tempfile.NamedTemporaryFile(suffix='.py', delete=False) |
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 time | |
import struct | |
import socket | |
import hashlib | |
import base64 | |
import sys | |
from select import select | |
import re | |
import logging | |
from threading import Thread |