Re: [python-win32] GetDiskFreeSpaceEx

2010-07-13 Thread Stormy
GetDiskFreeSpaceEx() has two names (as does most windows functions that use strings), the Ansi version and the Unicode version, and you need to use the real name for the function you wish to use, in this case it is GetDiskFreeSpaceExA and GetDiskFreeSpaceExW. As for calling this function: http://d

Re: [python-win32] GetDiskFreeSpaceEx

2010-07-13 Thread Tim Golden
[cc-ing back to the list so other helpers and future Seekers of the Truth can see what happened next...] On 13/07/2010 15:27, Vittorio Zuccala' wrote: 2010/7/13 Tim Golden If you haven't already, get hold of the pywin32 extensions to Python: https://sourceforge.net/projects/pywin32/ They c

Re: [python-win32] GetDiskFreeSpaceEx

2010-07-13 Thread Tim Golden
On 13/07/2010 14:50, Vittorio Zuccala' wrote: Hi all, i'm new in this mail-list and in python's programming. Welcome to Python and to this group. I'm searching information about getting free disk space on win32 systems... I found example about win32 programming in python in Tim's site at thi

[python-win32] GetDiskFreeSpaceEx

2010-07-13 Thread Vittorio Zuccala'
Hi all, i'm new in this mail-list and in python's programming. Sorry for my bad english :-) I'm searching information about getting free disk space on win32 systems... I found example about win32 programming in python in Tim's site at this link http://timgolden.me.uk/python/win32_how_do_i/lock_my

Re: [python-win32] EOFError in gencache.py

2010-07-13 Thread Petr Dlabal
Hi, I have a similar problem as described bellow - launching multiple instances of my application causes rewriting dicts.dat file in gen_py cache, sometimes when two processes running at the same time it leads to errors, because of locked dicts.dat. Is there some way to prevent this file to rewrite