feat: вфыв

This commit is contained in:
2024-07-20 09:32:22 +03:00
parent e7235021f9
commit 6b09251141
27 changed files with 536 additions and 119 deletions

19
test.py
View File

@@ -1,9 +1,14 @@
import struct
import sys
from typing import Self
sys.set_int_max_str_digits(-0)
with open('Дизайн.jpg', 'rb') as rf:
data = int.from_bytes(rf.read())
with open('result', 'wb') as rf:
rf.write(data.to_bytes(length=len(str(data))))
class A:
@classmethod
def test(cls) -> Self:
return cls()
class B(A):
pass
a = B.test()