Re: help with threads

2009-08-06 Thread Loïc Domaigné
Hallo Michael, > I have a simple application that needs one thread to manage networking > in addition to the main "thread" that does the main job. It's not > working right. I know hardly anything about threads, so I was hoping > someone could point me in the right direction to research this. > > B

Re: Strange python script behaviour

2009-08-04 Thread Loïc Domaigné
> > > I have a problem with one of my python scripts. When I run this script > > > from command line it works correctly, but if I set up cron to run this > > > script on specified hour it works for a while and then "[Errno 32] > > > Broken pipe" error occures (always). > > > > The strangest thing

Re: Strange python script behaviour

2009-08-04 Thread Loïc Domaigné
Hi, > I have a problem with one of my python scripts. When I run this script > from command line it works correctly, but if I set up cron to run this > script on specified hour it works for a while and then "[Errno 32] > Broken pipe" error occures (always). > > The strangest thing is that if I cha

Re: os.path.exists() and Samba shares

2009-07-30 Thread Loïc Domaigné
Hi, > Hello. I have written a Python 3.1 script running on Windows that uses > os.path.exists() to connect to network shares. If the various network > shares require different user account and password combos than the > account the script is running under the routine returns false. I need > someth