On 11/02/2010 18:18, Chris Jesse wrote:
Hi All,
I currently have a little program which looks for new USB removable media
to be inserted into a PC. It does so by polling (every 5 seconds) all
the drives within Win32_DiskDrive() and queries to find the ones which
PNPDeviceID has 'USBSTOR' within
On 12/02/2010 08:56, Tim Golden wrote:
[... snip ideas re WMI ...]
To clarify, after a little Googling: it appears that
altho' Win32_VolumeChangeEvent is exposed under WinXP
it's effectively not implemented. Win32_DeviceChangeEvent
doesn't return the device itself. Not sure what OS you're
runnin
On 12/02/2010 08:56, Tim Golden wrote:
You've got two, perhaps three approaches you could take here. One
is to use the WM_DEVICECHANGE windows message. I thought I had an
example in my list of How-Tos but I see that I don't.
... so I've now added it:
http://timgolden.me.uk/python/win32_how_do_
Jeff Peery wrote:
Hello,
I'm running on vista and I'm getting a permissions error from win32com. I attached a print screen displaying the error message. It appears win32com is trying to write a file and vista UAC is blocking it. Why is win32com trying to do this and how do I fix it? the only meth
Hi TJG,
Thanks for your very helpful reply and code snippet. I'm happy that there seems
to be a way to do this in windows. The application is multi-threaded with the
MainThread being a wxPython MainLoop which monitors for events such as Shutdown
(QUERY_END_SESSION) etc. It has to be the MainTh
On 12/02/2010 15:52, Chris Jesse wrote:
Hi TJG,
Thanks for your very helpful reply and code snippet.
I'm happy that there seems to be a way to do this in windows.
The application is multi-threaded with the MainThread being a wxPython
MainLoop which monitors for events such as Shutdown (QUERY_END
On Fri, Feb 12, 2010, Tim Golden wrote:
> On 12/02/2010 08:56, Tim Golden wrote:
>>
>> You've got two, perhaps three approaches you could take here. One
>> is to use the WM_DEVICECHANGE windows message. I thought I had an
>> example in my list of How-Tos but I see that I don't.
>
> ... so I've now
Dave Angel wrote:
> 2) Are you running a 64bit version of Vista?
Yes, he is. The path "Program Files (x86)" is prima facie evidence of
this. He's running 32-bit Python on a 64-bit system. And that's just fine.
> 3) What do you mean by "compile" and "compiled executable"?
It means he has used
Dear group:
I am developing a program using Python 2.5.4 in windows 32 OS. The amount of
data it works with is huge. I have managed to keep memory footprint low, but
have found that, independent of the physical RAM of the machine, python always
gives the MemoryError message when it has occupied
Dear Angelica:
2.2 GB is essentially the largest integer you express with 32 bits
(2^31), and therefore the largest quantity of memory for which you can
define an address. There are some tricks that really sophisticated
programmers can do that let you use more than that, but I don't know how
hello,
yes, I am using 64 bit vista. and I am using py2exe to distribute my app. At
the moment I'm dead in the water unti lI resolve this issue. Does anyone know
of a quick fix?
thanks,
Jeff
--- On Fri, 2/12/10, Tim Roberts wrote:
From: Tim Roberts
Subject: Re: [python-win32] permissions e
I am having an issue compiling mysql-python on windows 7 using Mingw32.
This is my first time compiling it with Mingw32 and not using Microsoft
Visual Studio compilers.
I have gotten pretty far using tutorials on the net but hit a road block.
*Setup*:
Windows 7 Ultimate
Python 2.6
MySQL-python-1.2
hi, yes I can personally do that on my computer but it is not a good solution
for my users to require an administrator to grant acces every time they want to
launch the software. So I will need a more permanent fix.
Is it a significant task to redirect these files to the application data folde
Ok thanks, I will look into that.
I was looking around in the win32com.client.__init__.py and it appears that if
I delete the folder win32com.client.gen_py then it is created dynamically in
the the user/appdata/temp folder when the program launches. Which is good
because the user doesn't need
14 matches
Mail list logo