def __init__(self):
        try:
            with open("key", "rb") as keys_file:
                keys = keys_file.read()
        except IOError:
            keys = None
        if keys:
            self.pkey = public.PrivateKey(keys, STORE_ENC)
        else:
            kp = public.PrivateKey.generate()
            with open("key", "wb") as keys_file:
                keys_file.write(kp.encode(STORE_ENC))
            self.pkey = kp
Set axes to constrain rotations.
dataset/ETHPy150Open stal888/Tox-QuickDNS/cryptocore.py/CryptoCore.__init__--crossover with--dataset/ETHPy150Open omangin/multimodal/multimodal/lib/transformations.py/Arcball.setaxes