Hi!
I'd like to write one or more scripts that analyze processes in memory on
Windows 7. I used to do these things in C++ by using native Win32 API calls.
How should I proceed in python? Any pointers?
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, October 27, 2014 6:24:19 PM UTC+1, Tim Golden wrote:
> psutil is definitely your friend:
>
> https://github.com/giampaolo/psutil
>
> Although WMI can be quite handy too, depending on what you're trying to do:
>
> http://timgolden.me.uk/python/wmi/
>
> TJG
Thanks for answering.
I
Consider this code:
---
from ctypes import *
user32 = windll.user32
user32.MessageBoxA(0, 'ok', 'ok', 0)
---
If I run it in idle or from pycharm, the messagebox shows 'o' instead of 'ok',
but if I run it from shell, it shows 'ok' like it should.
The same happens with msvcrt.printf().
Why?
--
h
On Monday, October 27, 2014 11:55:44 PM UTC+1, MRAB wrote:
> On 2014-10-27 22:38, kiuhnm wrote:
> > Consider this code:
> >
> > ---
> > from ctypes import *
> >
> > user32 = windll.user32
> > user32.MessageBoxA(0, 'ok', 'ok', 0)
> > ---
> >
> > If I run it in idle or from pycharm, the messagebox sh