[python-win32] Anti-reverse Python-based binaries?

2012-02-08 Thread Jun Koi
hi, sorry if this is a bit off-topic, but i think many people here must have the same concern, and have to cope with it somehow. i am developing a Windows project using Python. the final executable file .EXE and its libs will be generated with py2exe. my concern is that: even if the binary is wi

Re: [python-win32] lingering open filehandle?

2012-02-08 Thread Mark Hammond
On 9/02/2012 12:17 PM, Andrew Hammond wrote: We're using pycurl to download a file. The file is written to disk in the context of a with statement. Once the file is written, we exit the context and then do an os.rename() to move the downloaded file to it's final destination. Immediately before do

[python-win32] lingering open filehandle?

2012-02-08 Thread Andrew Hammond
We're using pycurl to download a file. The file is written to disk in the context of a with statement. Once the file is written, we exit the context and then do an os.rename() to move the downloaded file to it's final destination. Immediately before doing the rename, I confirm that the filehandle i

[python-win32] Active Directory Terminal Services Properties

2012-02-08 Thread Daniel Scoggins
I'm trying to set the values for TerminalServicesHomeDrive and TerminalServicesHomeDirectory through Python. I have this code that works in Powershell but need to get the same functionality in python. It looks like IADsTSUserEx