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
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
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
__
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
> 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
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
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):