[python-win32] How to calc amount of avail RAM in a process ?

2009-01-28 Thread geoff
I am hoping someone could steer me in the right direction on how to calculate the amount of RAM available to a process. I found the post below from Tim Roberts - a belated thanks Tim for your patient responses ! and it seems we regularly hit this limit. We have an application that needs to displa

Re: [python-win32] Mostrar salida en InnerHTML

2009-01-28 Thread Josu Rodriguez
Solucionado: import time from win32com.client import DispatchEx ie=DispatchEx('InternetExplorer.Application') ie.Navigate('about:blank') ie.ToolBar = 0 ie.StatusBar = 0 ie.Width = 400 ie.Height = 200 ie.Visible = 1 while ie.Busy:time.sleep(0.1) doc = ie.Document doc.Title = "Logon script in pr

[python-win32] Mostrar salida en InnerHTML

2009-01-28 Thread Josu Rodriguez
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" obj

Re: [python-win32] Merge of py3k branch complete!

2009-01-28 Thread Paul Moore
2009/1/28 Mark Hammond : > I'd like to express my extreme gratitude to Roger, without whom this py3k > work would never have started in the first place. I'd also like to thank > Jason and Vern who helped me out with the win32timezone and adodbapi modules > respectively. Thank you to all! One of t

Re: [python-win32] [Fwd: Re: Reading constants]

2009-01-28 Thread Charlie Clark
Am 28.01.2009 um 10:05 schrieb Graham Bloice: Or, use the built in win32com support for constants, e.g. win32com.client.constants.myConstantName. Note I think this only works if you've run MakePy over the type library for the object. Search the pythonwin help for the Quick Start to Client

[python-win32] Merge of py3k branch complete!

2009-01-28 Thread Mark Hammond
Hi all, I'm very happy to declare the merge of Roger's py3k branch 'complete' - by which I mean all changes have been merged, and comparing the py3k branch with the trunk after running 2to3 yields identical trees except in a few insignificant directories - and it works :) Work still remains to b

Re: [python-win32] advanced properties file

2009-01-28 Thread Elias Fotinis
--- wowberk wrote: > I need to list the advanced properties of a file such as > organization, dll > version, etc.. You can use win32api.GetFileVersionInfo. ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/list

Re: [python-win32] advanced properties file

2009-01-28 Thread Tim Golden
wowberk wrote: Hello everybody, I need to list the advanced properties of a file such as organization, dll version, etc.. I think you want structured storage. Have a look at my winshell module (or at the code it implements): http://timgolden.me.uk/python/winshell.html TJG ___

[python-win32] advanced properties file

2009-01-28 Thread wowberk
Hello everybody, I need to list the advanced properties of a file such as organization, dll version, etc.. With module that can perform? Google translation ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/py

[python-win32] [Fwd: Re: Reading constants]

2009-01-28 Thread Graham Bloice
Sending this to the list were it was meant to go in the first place. -- Regards, Graham Bloice --- Begin Message --- Vernon Cole wrote: > > -- > Vernon Cole > > On Tue, Jan 27, 2009 at 9:55 AM, Charlie Clark wrote: > >> Hiya, >> >> I'm pretty new to COM but fairly used to Python. Still got

Re: [python-win32] Reading constants

2009-01-28 Thread Charlie Clark
Am 27.01.2009 um 18:36 schrieb Vernon Cole: Charlie: In my experience, which goes back 35 years, constants like this are pretty much what the word implies -- constant. They are used to communicate between two software packages which were made by different people on different machines using di