[python-win32] Mostrar salida en InnerHTML

Josu Rodriguez jrvilda at gmail.com
Wed Jan 28 22:49:00 CET 2009


Hola a todos,


Alguien sabe como mostrar la salida de un script realizado en python
mediante un objeto objExplorer.Document.Body.InnerHTML

en vbs existe esta forma:

On Error Resume Next

Set objExplorer = CreateObject _
    ("InternetExplorer.Application")

objExplorer.Navigate "about:blank"
objExplorer.ToolBar = 0
objExplorer.StatusBar = 0
objExplorer.Width = 400
objExplorer.Height = 200
objExplorer.Visible = 1

objExplorer.Document.Title = "Logon script in progress"
objExplorer.Document.Body.InnerHTML = "Your logon script is being processed.
" _
    & "This might take several minutes to complete."

Wscript.Sleep 10000

objExplorer.Document.Body.InnerHTML = "Your logon script is now complete."

Wscript.Sleep 5000
objExplorer.Quit

Es posible ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090128/56cf2d15/attachment.htm>


More information about the python-win32 mailing list