Re: Parsing multipart HTTP response

2015-08-03 Thread Gilles Lenfant
Le lundi 3 août 2015 17:39:57 UTC+2, Mark Lawrence a écrit : > On 03/08/2015 16:01, Gilles Lenfant wrote: > > Hi, > > > > I searched without succeeding a Python resource that is capable of parsing > > an HTTP multipart/mixed response stream, preferably as a generat

Re: Parsing multipart HTTP response

2015-08-03 Thread Gilles Lenfant
Le lundi 3 août 2015 17:01:40 UTC+2, Gilles Lenfant a écrit : > Hi, > > I searched without succeeding a Python resource that is capable of parsing an > HTTP multipart/mixed response stream, preferably as a generator that yields > headers + content for each part. > > Goog

Parsing multipart HTTP response

2015-08-03 Thread Gilles Lenfant
ppreciated. -- Gilles Lenfant -- https://mail.python.org/mailman/listinfo/python-list

Stopping a wsgiref server programmatically

2014-01-14 Thread Gilles Lenfant
https://gist.github.com/glenfant/7369894#file-pipetestserver-py-L173 ). Is there a volunteer with a Windows box for helping me to get it fixed. Note: I have no windows box to experiment alternate. Many thanks by advance. -- Gilles Lenfant -- https://mail.python.org/mailman/listinfo/python-list

Re: Skipping decorators in unit tests

2013-10-11 Thread Gilles Lenfant
ons/methods provided by 3rd party tools Cheers and thanks again for taking time to help me. -- Gilles Lenfant -- https://mail.python.org/mailman/listinfo/python-list

Skipping decorators in unit tests

2013-10-10 Thread Gilles Lenfant
g "special stuffs" in my target tested modules. Can someone point out good practices or dedicated tools that "remove temporarily" the decorations. I pasted a small example of what I heed at http://pastebin.com/20CmHQ7Y Many thanks in advance -- Gilles Lenfant -- https://ma

Re: "Daemonizing" an application.

2013-02-27 Thread Gilles Lenfant
Le mercredi 27 février 2013 14:55:42 UTC+1, Tarek Ziadé a écrit : > On 2/27/13 11:52 AM, Gilles Lenfant wrote: > > > Hello, [...] > > > Thanks in advance fo any pointer. > > > > > You can have a look at Circus - https://circus.readthedocs.

Re: "Daemonizing" an application.

2013-02-27 Thread Gilles Lenfant
Le mercredi 27 février 2013 11:52:19 UTC+1, Gilles Lenfant a écrit : > Hello, > Hello again, And thanks to all for your pointers and ideas. As the app is already tied to an Unix like OS, I'll go with signal handling first since I can do all I need through reconfiguration (SIGHUP).

"Daemonizing" an application.

2013-02-27 Thread Gilles Lenfant
Hello, Sorry for the obscure title, but I can't make short to explain what I'm searching for. :) I made an app (kind of proxy) that works without UI within it's process. So far, so good. Now I need to change "live" some controls of this application, without stopping it. So my app will be spl

Re: Iterating over files of a huge directory

2012-12-17 Thread Gilles Lenfant
Le lundi 17 décembre 2012 16:52:19 UTC+1, Oscar Benjamin a écrit : > On 17 December 2012 15:28, Gilles Lenfant <...> wrote: > > > In the last couple of months there has been a lot of discussion (on > > python-list or python-dev - not sure) about creating a library

Iterating over files of a huge directory

2012-12-17 Thread Gilles Lenfant
that yields the file names of a directory and does not make a giant list of what's in. i.e : for filename in enumerate_files(some_directory): # My cooking... Many thanks by advance. -- Gilles Lenfant -- http://mail.python.org/mailman/listinfo/python-list

Re: [wanted] python-ldap for Python 2.3 / Win32

2011-10-25 Thread Gilles Lenfant
So many thanks for your valuable help Waldemar, this is exactly what I needed. I have no Windows machine to compile with the source bundle all this, and must install this directly in a production server. I'll keep these precious links and files in a trunk. Many thanks again -- Gilles Le

[wanted] python-ldap for Python 2.3 / Win32

2011-10-25 Thread Gilles Lenfant
newer Python version. So, please don't tell me to upgrade ;) Many thanks by advance to the people who will help me. You can send this package via mail to gillesDOTlenfantATgmailDOTcom. -- Gilles Lenfant -- http://mail.python.org/mailman/listinfo/python-list

Linux/Python -> SQL*Server Connexion chain

2005-09-22 Thread Gilles Lenfant
Hi, Have you guys any good experience on connecting a Python (Zope) app running on Linux to a Windoze SQL*Server ? Many thanks by advance to report your success, failure, pitfalls (...) and used products. Even reports using commercial solutions are welcome. -- Gilles -- http://mail.python.o

Subprocess and time-out

2005-06-16 Thread Gilles Lenfant
considered deadlocked) and to process the next file. Unfortunately, I didn't find any pythonic stuff to control the time spent runnning subprocesses (and kill'em if needed) launched with popen. An hint is welcome. Many thanks by advance. -- Gilles Lenfant -- http://mail.python.org/mai

Re: Is Python Suitable for Large Find & Replace Operations?

2005-06-14 Thread Gilles Lenfant
rbt a écrit : > Here's the scenario: > > You have many hundred gigabytes of data... possible even a terabyte or > two. Within this data, you have private, sensitive information (US > social security numbers) about your company's clients. Your company has > generated its own unique ID numbers to

Re: [OT ?] (Pythonic) detection word protected files

2005-06-14 Thread Gilles Lenfant
Gerald Klix a écrit : > Perhaps you can use OpenOffice and it's python UNO Bindings? > I only know about their existence, but perhaps this will be a starting > point: http://udk.openoffice.org/ Thanks, I already considered this but didn't find the way to get the encryption information (protected

Re: [OT ?] (Pythonic) detection word protected files

2005-06-14 Thread Gilles Lenfant
Tim Golden a écrit : > [Gilles Lenfant] > | I'm building an utility that makes a catalog of M$ word files > | in a giant > | directory tree. The password protected files must be marked, and I > | didn't find how to guess which files are password protected and which >

[OT ?] (Pythonic) detection word protected files

2005-06-13 Thread Gilles Lenfant
Hi, This is certainly off topic, but as my problem must have a pythonic answer. I'm building an utility that makes a catalog of M$ word files in a giant directory tree. The password protected files must be marked, and I didn't find how to guess which files are password protected and which ones

Re: how to pass attribute name via sys.argv

2005-01-27 Thread Gilles Lenfant
Felix Hebeler a écrit : Hi all, I am doing some Python scripting for a while, but I'm not too deep into it yet. So I have a problem I can't solve. I need to call an object attribute: value = object.attrName[0] the problem is, that the attribute name can only be specified at runtime. So what I hav