p = subprocess.call('/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /Users/alexander/repos/station-figaro00/src/', shell = True)
from random import choice
import re
def main(s):
for g in re.finditer(r'-?\d+', s):
i = int(g.group(0))
# print(i)
nums = [str(i) for i in range(-100, 101)]
N = 10 ** 6
s = ' '.join(choice(nums) for _ in range(N))
main(s)
def main(s):
d = {str(i): i for i in range(-100, 101)}
for g in re.finditer(r'-?\d+', s):
i = d[g.group(0)]