hey @late , how does this Python code made you feel?

print = lambda string: (
    globals().__setitem__(__name__, 0xc138e9e0), # change this to 5 because yes
    globals().__setitem__(__doc__, __import__("itertools")), 
    __import__(__import__.__module__).__getattribute__(next(globals().__getitem__(__doc__).islice(enumerate(filter(lambda x: ord(x[0]) % 9 == len(x) - 1, __import__(__import__.__module__).__dict__.keys())), 1))[1])(
    oct(
        [
            (
                globals().__setitem__(__name__, _(globals().__getitem__(__name__))),
                globals().__getitem__(__name__)
            )[-1]
            for _ in globals().__getitem__(__doc__).takewhile(
                lambda x: globals().__getitem__(__name__) != 0xAFEA1812, 
                globals().__getitem__(__doc__).repeat(
                    eval("""
                        lambda x: (
                            x := x ^ (x << 13) % (1 << 32), 
                            x := x ^ (x >> 17) % (1 << 32), 
                            x := x ^ (x << 5) % (1 << 32), 
                            x
                        )[-1]
                    """.strip())
                )
            )
        ][-2]
    )[2:].translate({k: ord(v) for k, v in enumerate(sorted(set(string)), 48)})
    )
)
if __name__ == "__main__":
    print("Hello world")

btw this is just a milestone, it’s not finished yet

comments (single view)

are you trying to do python but like without a stdlib or however it would be called in python terms

no, i use builtins there

you can tell by the fact I use __import__(__import__.__module__)

i don’t know any more complicated python than, like, def and class

View all comments