belaqziz salwa wrote:
> I try to run a program in an interface that is already opened, all
> works well through the Command Prompt but when I run my python script
> in the server e.g http://localhost/MyScript.py it gives me the
> following message:
> pywintypes.error: (0, 'EnumWindows', 'No error message is available')
>         
>

Are you trying to run this as a CGI script through IIS?  CGI scripts run
in a very different and very restricted environment.  They cannot access
the list of windows.  It's just not possible.

Why do you want to run this through a web server?  What is your overall
plan here?

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to