Can it be done, and if yes - how? 9 2576
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...
On Feb 11, 2:21 pm, Maël Benjamin Mettler <m...@mediamong er.chwrote:
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 <11************ *********@k78g2 000cwa.googlegr oups.com>, volcano wrote:
On Feb 11, 2:21 pm, Maël Benjamin Mettler <m...@mediamong er.chwrote:
>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
On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.net wrote:
In <1171197574.776 135.96...@k78g2 000cwa.googlegr oups.com>, volcano wrote:
On Feb 11, 2:21 pm, Maël Benjamin Mettler <m...@mediamong er.chwrote:
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
volcano wrote:
On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.net wrote:
....
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
Your best bet will be to create a C library callable from Python to do it
for you. There may be such a beast in existence already, but it should not
be hard at all to do, given the simplicity of the requirements.
--
-- Fred of UrlBit.Us
-- http://UrlBit.Us - Bite those URLs down to size!
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
---------------------------------------------------------- http://www.usenet.com
volcano wrote:
On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.net wrote:
[...]
>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?
No. You'd have to use a compiled extension.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Blog of Note: http://holdenweb.blogspot.com
See you at PyCon? http://us.pycon.org/TX2007
On Feb 11, 3:46 pm, Steve Holden <s...@holdenweb .comwrote:
volcano wrote:
On Feb 11, 2:46 pm, Marc 'BlackJack' Rintsch <bj_...@gmx.net wrote:
[...]
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?
No. You'd have to use a compiled extension.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://del.icio.us/steve.holden
Blog of Note: http://holdenweb.blogspot.com
See you at PyCon? http://us.pycon.org/TX2007
Steve, Fred, thank you. This is exactly what I have done, though I did
hope for shortcut. Life is tough:)!
Steve Holden <st***@holdenwe b.comwrites:
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?
No. You'd have to use a compiled extension.
Well, you don't necessarily have to deal with the C API or ctypes; it
may be enough to invoke an external program that accesses the
necessary memory address.
On 2007-02-11, volcano <Ma*********@gm ail.comwrote:
Can it be done,
Yes.
and if yes - how?
/proc/kmem
--
Grant Edwards grante Yow! Nipples, dimples,
at knuckles, NICKLES,
visi.com wrinkles, pimples!! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Samuel Schulenburg |
last post by:
Who should I contact about accessing my account on Starship. I need to
obtain a new password and access process.
I think i am having a memory lapse as it has been over a year sense I
have had a need to access my files.
Sam Schulenburg
|
by: Nick K. |
last post by:
I recently began maintenance work on a production web server that is located
in the root directory of a web server. I moved this into a sub web on my
local web server in order to do work on it. I found that there is an include
file that references images:
<img src = "/images/Header.gif"
What worked correctly on the production server breaks on mine because of the
absolute address "/images". I removed the absolute address and changed...
|
by: David Siroky |
last post by:
Hi!
When I "compile" my python files with "python -OO ...." into pyo files
then they still contain absolute paths of the source files which is
undesirable for me. How can I deal with that?
Thank you.
David
|
by: TheCoder |
last post by:
I am making a D-base with web conectivity for my class project. I have
everything working but the subit button sends the data to the correct
fields but afterwards it wants to reproduce new blank text boxes how do
I stop this and how would I code it to redirect to a thank you page.
All with out the help of a web server this has to br ran from the
desktop and with in IE with a local directory. Pleas help I am stuck.
here is the code!
...
|
by: David Mathog |
last post by:
If this:
int i,sum;
int *array;
for(sum=0, i=0; i<len; i++){
sum += array;
}
is converted to this (never mind why for the moment):
| |
by: Benjamin M. Stocks |
last post by:
Hello all,
I've heard differing opinions on this and would like a definitive
answer on this once and for all. If I have an array of 4 1-byte values
where index 0 is the least signficant byte of a 4-byte value. Can I use
the arithmatic shift operators to hide the endian-ness of the
underlying processor when assembling a native 4-byte value like
follows:
unsigned int integerValue;
unsigned char byteArray;
|
by: pooba53 |
last post by:
I have a VB .NET 2003 application that communicates with an Access db.
I am deploying the application using the Wizard that creates an install
package and it IS properly grabbing the Access db and putting it in the
Program Files directory along with the application executable, no
problem.
The problem is this...
The OleDbConnection knows of the database in an absolute location (i.e.
C:\Documents and Settings\ApplicationDB\data.mdb
|
by: sgtmarcjones |
last post by:
How do I access a dropdownlist that is nested within a Formview
ItemTemplate Gridview Template?
I want to see a label (lgbTimeKeep ! TextValue of ddlName
dropdownlist) instead of a dropdownlist in the FormView ItemTemplate
Nested Gridview ddlName ItemTemplate. My label is named lgvTimeKeep
and the dropdownlist name is ddlName.
Thanks!
|
by: Jon Slaughter |
last post by:
do I have to prefix every absolute path with document root to get it to
work?
For some reason I thought that prefixing a path with '/' or './' with make
it absolute w.r.t to document root but I guess not?
e.g., when I do
include './Scripts/AddNav.php';
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |