bartonc:
thanks for the reply. Alas I get the:
ImportError: No module named ctypes
message when I try and import ctypes module.
I noticed references to win.dll.... As I am on a linux box could this be the problem?
dshimer:
the module that is supposed to receive the struct packed is whether deaf to python data or nothing is dispatched. I am not sure though about the format structure I provided to...
User Profile
Collapse
-
No dice,
I think I am hopeless with this language. I can't see how to make the entry widget work.
I am not able to experiment the struct stuff yet as I cannot get data read and updated from the entry widget. Nonetheless I have found some good examples on how to access date in an entry widget and treat them as strings as well as transform them in integers (or e.g. floats) using the int method.
Any link to a basic tutorials...Leave a comment:
-
dshimer
thank you very much.
I'll try and see if I can make something with all the infos you kindly provided.
I'll pop in again if I get to somewhere.
Regards,
PierLeave a comment:
-
accessing a device with python
Hi everybody,
first of all I'd like to say that I am a beginner with python so please be patience. I googled a lot before posting the following question.
I am trying to port a small C code of mine which "talks" to a real-time kernel module to python.
I need an easy way to set up a graphic interface therefore I am using tkinter.
I need to send a C struct to /dev/rtf0:
typedef struct... -
Linux Gentoo ker 2.6.19.2 RTAI Vulcano patched
Python 2.4.3 + tkinter
gcc 4.1.1Leave a comment:
No activity results to display
Show More
Leave a comment: