Re: [python-win32] zip of file using python

2010-04-08 Thread a h
python. ah On Thu, Apr 8, 2010 at 2:56 PM, Werner F. Bruhin wrote: > On 08/04/2010 09:52, a h wrote: > >> hi >> I want to zip a folder using python script. I have written below piece >> of code, but i found that total size of all file is equal to the size of >> resulta

[python-win32] zip of file using python

2010-04-08 Thread a h
hi I want to zip a folder using python script. I have written below piece of code, but i found that total size of all file is equal to the size of resultant zip file. so no compression is done. Its just put all the files in a folder and say save it with an extension(.zip). May be i am wrong someway

Re: [python-win32] passing c structure into python function

2010-02-15 Thread a h
this way?. and i dont know how to convert C structure into python object(PyObject). Please help me how do i achieve this thanks ah On Thu, Jan 14, 2010 at 12:05 AM, Tim Roberts wrote: > a h wrote: > > > > thanks for your response > > in the last piece of c code i want

Re: [python-win32] passing c structure into python function

2010-01-13 Thread a h
2010 at 5:33 PM, a h wrote: > Hi > I have witten C code which call a function defined in python, passing an > structure, but couldn't know how to pass c structure into a python > function(data conversion) and how to write python script function which > takes an c structure

[python-win32] passing c structure into python function

2010-01-12 Thread a h
Hi I have witten C code which call a function defined in python, passing an structure, but couldn't know how to pass c structure into a python function(data conversion) and how to write python script function which takes an c structure and fill value into it (commented portion) I have looked at st

[python-win32] Passing c structure into Python script

2009-11-18 Thread a h
Hi all I want to know that how do I pass an C structure into python script. Actually my problem is 1. how do I call python script from C application ,in which I can pass C structure 2. how do I take that C structure into an python script actually i have to write an python script which take an C s

[python-win32] regarding asn in python

2009-10-26 Thread a h
Hi I want to know to that is any compiler there that could produce asn parser in python. actually i have an asn file and i want to decode asn base encoded message. I found an asn1c compiler that can generate output files that can be used to decode the message, but those files are in C or java. i w

Re: [python-win32] regarding ftp api call

2009-09-24 Thread a h
ote: > [copying back to the list] > > Please keep the conversation on-list, a h. We're all > happy to help you, but none of us is a private > consultant -- at least not an unpaid one! Also, > the more people who see what you post, the more > people there are who might be

[python-win32] regarding ftp api call

2009-09-23 Thread a h
Hi all i have created an ftp client using ftp api provided in python. whenever i disconnect my ftp client with the ftp server by removing the wired connection, my ftp application get hanged, i traced with prints and find that whenever call made to ftp api, it never came back. How do i resolve this

[python-win32] regarding invoking command prompt using python

2009-06-17 Thread a h
Hi all 1.I want to know how do i write batchfile kind of file in python so that it executes some commands. Code snippets are required. 2.As well how do i invoke command prompt. Actually what i need is that i have to perform certain things in windows...first i have to go to start->run->type cmd th

[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 __