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
otp = lambda *args: [a ^ b for a, b in zip(*args)] |
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
import contextlib | |
import copy | |
import types | |
class structure: | |
def __init__(self, _class): | |
self.__class = _class | |
self.annotations: list = list(_class.__annotations__.items()) | |
_class.__class = self.__class |
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
import sys | |
import time | |
from itertools import cycle | |
from multiprocessing import Process | |
class UnixLoading: | |
def __enter__(self): | |
def thread(self): |
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
from ctypes import * | |
class memaddr: | |
def __init__(self, address): | |
self.address = address | |
def write(self, data): | |
a = { | |
int: c_int, | |
float: c_float, |