If your process is being terminated forcefully (like from the task manager)
then you probably don't want to run any cleanup code. If you really must you
could code something in C, put it in a DLL library and have it executed in
DllMain when the library is unloaded. (And I think you'll still have
pr
Try this script, it comes with your Python 3 installation:
http://docs.python.org/library/2to3.html
You may have to review the source code manually in non trivial cases,
though.
Regards,
-Mario
On Thu, Jan 7, 2010 at 2:40 AM, Santosh Mohan wrote:
> HI,
>
> I installed new version of Python 3.
What is WinAppDbg?
==
The WinAppDbg python module allows developers to quickly code instrumentation
scripts in Python under a Windows environment.
It uses ctypes to wrap many Win32 API calls related to debugging, and provides
an object-oriented abstraction layer to manipula
Did you try killing all instances of explorer.exe instead of rebooting? That
might do the trick and it's faster.
On Sun, Jun 28, 2009 at 9:10 AM, Gertjan Klein wrote:
> Hi,
>
> I am trying to write a shell context menu handler, based on the example
> I found in Lib\site-packages\win32comext\shel
Basically it's got some different features than PyDbg and a more
complete documentation. If you have an *existing* project built upon
PyDbg it's probably not worth switching (unless you've hit some very
bad problem with it) but I believe it's better for newer projects, as
this new library is more f
What is WinAppDbg?
==
The WinAppDbg python module allows developers to quickly code
instrumentation
scripts in Python under a Windows environment.
It uses ctypes to wrap many Win32 API calls related to debugging, and
provides
an object-oriented abstraction layer to manipulate thre
I like Python Scripter, it's free but it's got a small bug or two. The 1.7
version is better than the newer 1.9.
http://www.mmm-experts.com/Downloads.aspx?ProductId=4
On Wed, Jun 3, 2009 at 7:57 PM, Steven James wrote:
> I like SPE and Wing. Wing isn't free though.
>
> http://pythonide.blogspot
How about this?
import ctypes
NULL = 0
TRUE = 1
FALSE = 0
INVALID_HANDLE_VALUE = -1
WORD = ctypes.c_ushort
DWORD = ctypes.c_uint
LPSTR = ctypes.c_char_p
LPBYTE = LPSTR
HANDLE = DWORD
# typedef struct _PROCESS_INFORMATION {
# HANDLE hProcess;
# HANDLE hThread;
# DWORD dwProces
Aca explican como averiguar el path a tu propio ejecutable:
http://www.py2exe.org/index.cgi/WhereAmI
Quedaria algo como esto (solo funcionaria con py2exe):
import sys
archivo_de_origen = sys.executable
No conozco mucho PyWin32. De todas formas se puede usar ctypes, esto
seguramente sirva:
impo
What is WinAppDbg?
==
The WinAppDbg python module allows developers to quickly code
instrumentation
scripts in Python under a Windows environment.
It uses ctypes to wrap many Win32 API calls related to debugging, and
provides
an object-oriented abstraction layer to manipulate thre
What is winappdbg?
==
The winappdbg python module allows developers to quickly code
instrumentation scripts in Python under a Windows environment.
It uses ctypes to wrap many Win32 API calls related to debugging, and
provides an object-oriented abstraction layer to manipulate thre
11 matches
Mail list logo