[python-win32] Problems using PythonWin debugger

2006-04-26 Thread Tony C
I had stopped using the PyWin debugger, back in 2.3, because of numerous problems, and unexpected things happening.Now, in 2.4.3 I had tried ti again, but still have the same old problems.I have a script which justs iterates through text files, countng lines, and functions, and subs, of another lan

Re: [python-win32] Simple questions aboutwin32pdhutil.GetPerformanceAttributes

2006-04-26 Thread Mark Hammond
Please see the comments in win32pdhutil.GetPerformanceAttributes - they explain that many attributes, particularly the processor ones, require 2 samples to give reasonable results.   The comment says:    # NOTE: Many counters require 2 samples to give accurate results, # including "% Proces

[python-win32] Simple questions about win32pdhutil.GetPerformanceAttributes

2006-04-26 Thread Tino Dai
Hi there,  Is there a list of performance stats that one can get back from GetPerformanceAttribute. In the Python Programming in Win32, there is an example with Memory and Available bytes, but none of the processor stats seem to work. Thanks! -Tino __

Re: [python-win32] wrong results in service running mode

2006-04-26 Thread Michael Li
Hi, Mark Thank you very much for your reply. Now I understand that Windows' "SYSTEM" account is not the same as Unix's "root" account. Finally I solved my problems based on Roger Upole's suggestions. Here is what I did: in client side, I use WNetEnumResource to get mapped share name, M:->\\serv

Re: [python-win32] broken install. win32com has no 'client'

2006-04-26 Thread Jim Carroll
> import win32com > win32com.client The answer is: import win32com.client My Bad! -Jim ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] how to know the native file path of computer A

2006-04-26 Thread Michael Li
Hi, Roger Thank you very much for your suggestions. Finally I solved my problems based on your suggestions. Here is what I did: in client side, I use WNetEnumResource to get mapped share name, M:->\\server_computer\shared then I send "shared" to the remote(server) computer. in server(remote) side

[python-win32] broken install. win32com has no 'client'

2006-04-26 Thread Jim Carroll
Hi, I have somehow broken my installation of pythonwin win32all. I recently uninstalled 207 and installed 208, hoping that would fix it... but no change. The biggest clue something is broken is I have no win32com.client object. import win32com win32com.client Traceback (most recent call last):