os.system, IIS6.0

2005-10-23 Thread David Duerrenmatt
Hi there Since we migrated from Windows 2000 Server to Windows 2003 Server, we encountered some problems with the Python scripts calling os.system(). They either copy files (permissions on files properly set) or run local programs. While using Win 2K, everything was alright. I assume, it's cau

func(*params)

2005-11-18 Thread David Duerrenmatt
Hi there For some reasons, I've to use Python 1.5.2 and am looking for a workaround: In newer Python versions, I can call a function this way: func = some_function func(*params) Then, the list/tuple named params will automatically be "expanded" and n=len(params) arguments will be submitted. P

Re: func(*params)

2005-11-18 Thread David Duerrenmatt
Great, this is exactly what I was looking for. Thanks all of you for your immediate answer! Nick Smallbone schrieb: > David Duerrenmatt wrote: > >>Hi there >> >>For some reasons, I've to use Python 1.5.2 and am looking for a workaround: >> >>In new

Migrate PYD Files

2005-09-08 Thread David Duerrenmatt
Is there a way to use old pyd files (Python 1.5.2) with a newer version of Python without recompiling them? Because the source code is not available anymore, I'm wondering whether it's possible or not to change few bytes with a hex editor (version number?). I'd like to give it a try since the modu