[python-win32] Regarding build of code using Visual Studio in python

2009-06-15 Thread a h
Hi all I have a C source code, i want to build it using Visual Studio without using its IDE. Actually i want to know that how do i write code/script in python so that it builds my "source.c" file and provides me "source.obj" and "source.exe" files. Thanx in advance. thnx & regds ah __

[python-win32] Regarding build of code using Visual Studio in python

2009-06-15 Thread a h
Hi all I have a C source code, i want to build it using Visual Studio without using its IDE. Actually i want to know that how do i write code/script in python so that it builds my "source.c" file and provides me "source.obj" and "source.exe" files. Thanx in advance. thnx & regds ah __

[python-win32] Building msi with python 2.6.2

2009-06-15 Thread Roberto Aguilar
Hello everyone, I've been able to successfully build a MSI of pywin32 under Python 2.6.2. But, when trying to use python, e.g. "import win32api", after installing the MSI I get: ImportError: DLL load failed: The specified module could not be found. With the help of a colleague, I discover

[python-win32] win32file.CreateSymbolicLink and SYMLINK_FLAG_DIRECTORY

2009-06-15 Thread Devin Jeanpierre
I'm new to pywin32 development, but wanted to toy with creating symlinks (and related new things) with a similar API to the current os module. The documentation in pywin32 states that the only flag is "SYMLINK_FLAG_DIRECTORY" (MSDN docs state that in the C++ API, the only flag is "SYMBOLIC_LINK_FLA

[python-win32] help, ImportError: MemoryLoadLibrary failed loading win32ui.pyd!!!

2009-06-15 Thread Sweet Boy
hi, well i got this exception when i run my .exe Traceback (most recent call last): File "new.py", line 2, in (module) File "zipextimporter.pyc", line 98, in load_module ImportError: MemoryLoadLibrary failed loading win32ui.pydthis is my script to make .py to .exe: from distutils.core import

Re: [python-win32] FIle I/O on Windows XP

2009-06-15 Thread python
Hi Tony, > I was trying to see if I could speed up processing huge files (in the 10's of > Gigabytes) by passing various values to the readline() method of the file > object. We also work with large sized text files (we use Python for ETL jobs in the 100-200 Gb range) and have noticed similar b

Re: [python-win32] FIle I/O on Windows XP

2009-06-15 Thread Dave Angel
Tony Cappellini wrote: I was trying to see if I could speed up processing huge files (in the 10's of Gigabytes) by passing various values to the readline() method of the file object. No matter what I passed to readline() each call was slower and slower than passing no argument at all. I've use