[python-win32] Listing all processes

2007-06-11 Thread Michael Foord
Hello all, I recently blogged about how listing all running processes is easy with IronPython [1]. This contrasts with the pywin32 solution we were using which is a 'touch' more obscure (!) and has recently started failing on one machine. However, I'm pretty certain that the pywin32 code we ar

Re: [python-win32] inspect.getsource fails

2007-06-11 Thread Mark Hammond
The inspect module is expecting "normal" .py files, which ActiveScript based objects don't support. It might be possible to tweak things so it does work - last time I tried was many years ago now, and things may be easier to trick now - see pyscript.py for any filename magic which does exist (eg,