Re: [python-win32] Implementing a python com server that is used by a python client

2010-03-01 Thread Mark Hammond
On 2/03/2010 9:10 AM, Ulrich Mierendorff wrote: Hi, I have implemented a simple com server called "TestServer" using the following mail as an example http://markmail.org/message/vheujc2lijgwhhju#query:+page:1+mid:4lgd7lzzokglsckc+state:results (but without multi-threading support) Now I want t

Re: [python-win32] authentication proxy and download

2010-03-01 Thread Mark Hammond
On 2/03/2010 4:03 AM, Christophe Deze wrote: hello I wrote a windows app that must download file it works fine with urllib.urlretrieve. But I want to download file through a proxy with NTLM (samba)authentication . I want to use windows sessions credential transparently, as IE and Firefox do wel

Re: [python-win32] authentication proxy and download

2010-03-01 Thread Christophe Deze
sorry for the monolog .. :D i'm closed to succeed but how to retrieve transparently user and pwd ? import win32inet hinternet = win32inet.InternetOpen("foo 1.0", 0, "", "", 0) h = win32inet.InternetOpenUrl(hinternet,'http://downloads.sourceforge.net/sevenzip/7z465.msi') win32inet.InternetSetO

Re: [python-win32] authentication proxy and download

2010-03-01 Thread Christophe Deze
it should look like that ??? import win32inet hinternet = win32inet.InternetOpen("foo 1.0", 0, "", "", 0) win32inet.InternetSetOption(INTERNET_OPTION_PROXY_PASSWORD,SizeofOtion) win32inet.InternetSetOption(INTERNET_OPTION_PROXY_USERNAME,SizeofOtion) #h = win32inet.InternetConnect(hinternet,'www.g

[python-win32] authentication proxy and download

2010-03-01 Thread Christophe Deze
hello I wrote a windows app that must download file it works fine with urllib.urlretrieve. But I want to download file through a proxy with NTLM (samba)authentication . I want to use windows sessions credential transparently, as IE and Firefox do well... I don't think that urllib(2) can do

Re: [python-win32] How to query the peak commit charge

2010-03-01 Thread Mike Driscoll
Hi Mark, On 2/26/2010 5:14 PM, Mark Hammond wrote: On 27/02/2010 2:22 AM, Mike Driscoll wrote: Hi, I have been tasked with trying to find a way to query the peak commit charge of our various workstations. It would be great if I could do it remotely, but logging is also a possibility. Unfortuna