[python-win32] Idle Event

2008-03-28 Thread Gerdus van Zyl
Hi, How can I run a function when the event loop is idle? It's for animation and some layout calculation. Currently I am doing that using threads but the responsiveness of my application is suffering. Thank you ~Gerdus ___ python-win32 mailing list pyth

Re: [python-win32] Using LogonUser with Guest account

2008-03-28 Thread Giampaolo Rodola'
Roger Upole wrote: >> Hi, >> I'm trying to write a plug-in for a ftp server of mine to permit the >> integration with accounts defined on the Windows system. >> What I basically need is impersonating a user, execute e filesystem >> call (e.g. create a directory via os.mkdir()) and then switch back

Re: [python-win32] Using LogonUser with Guest account

2008-03-28 Thread Tim Golden
Giampaolo Rodola' wrote: > Roger Upole wrote: >> I think you're looking for win32security.ImpersonateAnonymousToken. >> Note that Anonymous is not the same thing as the Guest account. > > By reading MSDN it seems it should be used with threads (while I'm in > an asynchronous environment) and I'm n