Re: [python-win32] checking file permission on network share

2011-09-01 Thread Ben Timby
On Wed, Aug 31, 2011 at 8:38 AM, Steffen Frömer steffen.froe...@gns-systems.de wrote: Hello, i try to check, if a file on network-share is read only. I tried different ways. Not the prettiest, but if you want to know if the SHARE is read only, you can do a functional test. import os,

Re: [python-win32] Restart/re-run a thread

2011-10-27 Thread Ben Timby
Jacob, What you are looking at is called a thread pool. The simple case you have now is that you start a thread whenever there is work to do (playing a sound). The thread does this work, then exits. A thread pool means you have a set number of threads idling and receiving work via a queue. When