Re: [python-win32] como hacer una rutina de auto-copiado en python con PyWin32

2009-05-27 Thread Mario Alejandro Vilas Jerez
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

Re: [python-win32] como hacer una rutina de auto-copiado en python con PyWin32

2009-05-27 Thread Bobby Metz
If I understand correctly you want a means to package your py2exe generated .exe file and its dependent files and directories into an installation package that will install them into a predetermined directory on other systems. If that is correct, I'm not aware of an Pywin32 API to handle that, but

[python-win32] como hacer una rutina de auto-copiado en python con PyWin32

2009-05-27 Thread Sweet Boy
hola!. ese es mi problema, quisiera saber como puedo implementar una rutina de autocopiado en python para un .exe hecho con py2exe. el problema es que el programa debe averiguar su propia ubicacion actual y no sé como hacer para que lo haga, claro que con Apis de PyWin32. _

Re: [python-win32] COM and retrieving records/structures

2009-05-27 Thread Simon Carter
>> Hi! Is there anything else I can do to help track this down, or work >> around the problem? Without switching over to Python .Net or >> IronPython, I'm not entirely clear what I can do... > > Me either :(  It will probably involve working out how to reproduce this in > the test suite... Well, l

Re: [python-win32] adodbapi and stored procedure output parameters on

2009-05-27 Thread Randy Syring
Roger Upole wrote: I've run into this somewhere before. It turns out that the output parms are actually returned as an extra recordset, so you need to call NextRecordset before trying to access them. From digging into the source, if you add rs.NextRecordset() at line 741 of adodbapi.py, the

Re: [python-win32] overview of ntfs permissions ?

2009-05-27 Thread Tim Golden
Stef Mientki wrote: hello, is there a way to get an overview of ntfs permissions, of a specified part of a directory tree ? (I've recently answered amost this question over on StockOverflow as it happens: it wasn't you, was it? :) ) One answer is to use cacls / xcacls, the command-line tool w