How to access an absolute address through Python?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sun Feb 11 07:46:49 EST 2007


In <1171197574.776135.96980 at k78g2000cwa.googlegroups.com>, volcano wrote:

> On Feb 11, 2:21 pm, Maël Benjamin Mettler <m... at mediamonger.ch> wrote:
>> volcano schrieb:
>>
>> > Can it be done, and if yes - how?
>>
>> Define address. Are you talking about URLs? File paths? Postal
>> addresses? Memory addresses? Whatever addresses?
>> I'm afraid the people on this list can't read your thoughts...
> 
> I presumed that "absolute" address somehow qualifies my question. If
> it is not - I was talking about physical computer memory, on PC - to
> be more specific.

In pure Python it's not possible and even in C it might be difficult to
get an absolute *physical* memory address unless you run DOS.  Modern
operating systems tend to use some virtualisation of memory.  :-)

What's your goal?  What do you expect at the memory address you want to
access?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list