I have been working at python and have come across dificulties.
I am ok with the very basics and I am using activestates 2.2.2 Python
I want the time a file in a windows machine was last accessed and as yet have not accumplished it.
I have tried with the win32file module the getfiletime and type commands but they refer to PyHandle. What is and how does the PyHandle and associated stuff work? The help files just say what it is ot how to use it.
Can you tell where an example of creating/finding/using PyHandle is or am I stupid and should just convert the output to denary from hex?
I also want to mess with the cursor buttons and windows using the win32api win32gui stuff. I have been able to track the cursor - Hurrar
x = 1
while x < 1000:
x,y = win32api.GetCursorPos()
but have failed misrabilly to Enum any windows to a list or even return the current handle of a window or set an active window.
I tend to have to learn by example so anything on any of the above would be a great help.
Oh, one more thing.
I want a very simple python prog to run on a number of machines.
What is the minimum files to install manually to get this to happen
Python22.dll in the system32 dir is what I've gleaned so far...
Once again thanks for any replies.
0 · ·