0

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

2
Contributors
1
Reply
3
Views
12 Years
Discussion Span
Last Post by vegaseat
0

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!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.