How to access an absolute address through Python?

volcano Mark.Geyzer at gmail.com
Sun Feb 11 07:58:27 EST 2007


On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> In <1171197574.776135.96... 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

My goal is to sync program with external equipment through a register
defined as an absolute physical address. I know how to do it from C -
was curious if it may be done from Python. Can it be done?

Thanks, Mark




More information about the Python-list mailing list