954,525 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Direct Memory Access

Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly?

bumsfeld
Nearly a Posting Virtuoso
1,445 posts since Jul 2005
Reputation Points: 404
Solved Threads: 184
 

Oh gee, I do remember the peek and poke days of some basic dialects. You could use peek and poke to copy one array to another real fast. Borland C and Pascal have a way to write and read to absolute memory. Python, I don't know, must not be needed any longer. Writing to absolute memory addresses could be rather damaging! Somebody is bound to correct me here!

vegaseat
DaniWeb's Hypocrite
Moderator
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You