This post originated from an RSS feed registered with Python Buzz
by Simon Willison.
Original Post: Fun with ctypes
Feed Title: Simon Willison: Python
Feed URL: http://simon.incutio.com/syndicate/python/rss1.0
Feed Description: Simon Willison's Python cateory
This probably only works on Intel-based OS X machines:
>>> import ctypes
>>> print ctypes.c_char_p(
-16 * 4096 + 0x1600
).value
Your karma check for today:
There once was was a user that whined
his existing OS was so blind,
he'd do better to pirate
an OS that ran great
but found his hardware declined.
Please don't steal Mac OS!
Really, that's way uncool.
(C) Apple Computer, Inc.U??VWS?5P