Make Python HHGTTG-compliant: >>> with open("/proc/self/mem","r+") as fd: ... fd.seek(id(6*9)+16) ... fd.write(chr(42)) ... >>> 6 * 9 42
-
Show this thread
-
Replying to @marcan42 @whitequark
You can do this slightly less terrifyingly with “ctypes,” but maybe that’s the point here
1 reply 0 retweets 1 like
Replying to @porglezomp @whitequark
But this uses builtins only :-)
10:07 PM - 3 Apr 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.