ResponseNotReady in httplib

2012-03-28 Thread Manu
Hi I try to access a web site and it returns me this exception "ResponseNotReady" . I don't know what is the root of the problem and how to sort it out. I am using the excellent python requests library to access the web site but it relies on httplib utlimately. Could someone one explains me th

Installing a binary package on virtualenv on windows

2012-04-04 Thread Manu
Hi I have been using virtualenv on my windows desktop for quite a while now and would really recommend everyone to use it. Something I come across is how can I install a binary dependency in my virtual environment . I need to install lxml and gevent. Both packages are delivered as windows inst

IDisatch and pythoncom

2005-09-10 Thread Manu
Hi, I have a COM component server that just exposes the IDispatch interface but when you use it in a VB app you can access other method. I think the way to access the other methods( as does it VBA for ex) is to use Invoke but don't know how to do it in python. Say for ex i want to convert this

ftplib fails when directory name contains spaces

2005-05-26 Thread Manu
Hi, ftplib fails to cwd into a directory which contains spaces in it's name.How do i correct this? Regards Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: ftplib fails when directory name contains spaces

2005-05-27 Thread Manu
Oops..It was my mistake :(. Directory name with spaces work by default. -- http://mail.python.org/mailman/listinfo/python-list

mx Base module

2008-02-25 Thread Manu
Hi there, I am trying to install mx Base module( http://www.egenix.com/products/python/mxBase/ ) on my Redhat server. But om executing command "python setup.py install" I get following messages: running install running build running mx_autoconf gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3

Re: mx Base module

2008-02-25 Thread Manu
Many thanx for your help python setup.py build --skip install command is working Thanks Once again M On Feb 25, 5:08 pm, "M.-A. Lemburg" <[EMAIL PROTECTED]> wrote: > On 2008-02-25 17:27, Manu wrote: > > > Hi there, > > > I am trying to install mx B

trying to use sax for a very basic first xml parser

2008-07-14 Thread manu
Hi, I need to parse xml files for the Blender Game Engine. ATM I am trying to get this script running in the BGE. This is my first script and I dont have much experience programming... import xml.sax class PnmlHandler(xml.sax.ContentHandler): def __init__(self): self.inPlace=0 d

Re: trying to use sax for a very basic first xml parser

2008-07-14 Thread manu
On Jul 14, 8:14 pm, Miki <[EMAIL PROTECTED]> wrote: > Python is using an external library for SAX (expat IIRC). > I *guess* the Python that comes with Blender don't have this library. > I don't know... I didnt install any external libraries for sax. I think python comes with a standard sax librar

Re: trying to use sax for a very basic first xml parser

2008-07-15 Thread manu
> > May I suggest you ask in the blender list? > Will do that and report back. Thank you! Manuel -- http://mail.python.org/mailman/listinfo/python-list

Re: RegEx question

2007-10-04 Thread Manu Hack
On 10/4/07, Robert Dailey <[EMAIL PROTECTED]> wrote: > On 10/4/07, Adam Lanier <[EMAIL PROTECTED]> wrote: > > > > try @param\[(in|out)\] \w+ > > > > This didn't work either :( > > The tool using this regular expression (Comment Reflower for VS2005) May be > broken... > > -- > http://mail.python.org

property question

2007-10-08 Thread Manu Hack
recomputed only if A.x has been changed? Now I can define more variables to keep track of what is changed but when there are more variables and the dependency becomes more involved it could be very complicated. Thanks a lot. Manu -- http://mail.python.org/mailman/listinfo/python-list

Announcement: pacparser - a c library to parse proxy auto-config (pac) files

2007-12-17 Thread Manu Garg
e at: http://code.google.com/p/pacparser For the ones who like to start with source code, here is the link to direct download for source code: http://pacparser.googlecode.com/files/pacparser-1.0.0.tar.gz. Cheers :-), Manu -- Manu Garg http://www.manugarg.com "Journey is the destination of the

Announcement: Python module for pacparser (parses proxy auto-config files)

2008-01-23 Thread Manu Garg
http://pacparser.googlecode.com/files/pacparser-python25-1.0.3-win32.zip I have tested the module to work on Python 2.2 - 2.5 on Linux and Win32. Cheers :-), Manu -- Manu Garg http://www.manugarg.com "Journey is the destination of life." -- http://mail.python.org/mailman/listinfo/python-list

Re: Official IRC channel for Python?

2008-02-23 Thread Manu Hack
On Sun, Feb 24, 2008 at 12:16 AM, js <[EMAIL PROTECTED]> wrote: > Really? maybe I'm been blocked from it... > thanks. Maybe you need your nick name to be recognized. You need to register your nickname somewhere. Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: Official IRC channel for Python?

2008-02-23 Thread Manu Hack
On 23 Feb 2008 22:21:59 -0800, Paul Rubin <"http://phr.cx"@nospam.invalid> wrote: > "Manu Hack" <[EMAIL PROTECTED]> writes: > > > Really? maybe I'm been blocked from it... > > > thanks. > > > > > Maybe you need your nick

Re: Rpy Module

2008-05-16 Thread Manu Hack
f you want to use Hmisc within rpy, import rpy rpy.r.library('Hmisc') Manu -- http://mail.python.org/mailman/listinfo/python-list

Re: fromfile error on windows, not mac

2008-07-23 Thread Manu Hack
On Wed, Jul 23, 2008 at 3:37 PM, jadamwil <[EMAIL PROTECTED]> wrote: > I found the problem: I thought it was opening in binary mode on BOTH > windows and the mac, but on windows I passed "rb" with double quotes, > not 'rb' with single quotes to the open file function. Changing it to > 'rb' fixed i

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Thu, Sep 4, 2008 at 4:25 PM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 4, 2:42 pm, [EMAIL PROTECTED] wrote: >> David C. Ullrich: >> >> > At least in mathematics, the sum of the elements of >> > the empty set _is_ 0, while the maximum element of the >> > empty set is undefined. >> >> What do

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 5, 3:28 am, "Manu Hack" <[EMAIL PROTECTED]> wrote: >> On Thu, Sep 4, 2008 at 4:25 PM, castironpi <[EMAIL PROTECTED]> wrote: >> > On Sep 4, 2:42 pm, [EMAIL PROTECTED] wrote:

Re: max(), sum(), next()

2008-09-05 Thread Manu Hack
On Fri, Sep 5, 2008 at 11:45 PM, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Fri, 05 Sep 2008 22:20:06 -0400, Manu Hack wrote: > >> On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: > ... >>>> >The reason sum([]) is 0 is that

Re: max(), sum(), next()

2008-09-06 Thread Manu Hack
On Sat, Sep 6, 2008 at 12:57 AM, castironpi <[EMAIL PROTECTED]> wrote: > On Sep 5, 9:20 pm, "Manu Hack" <[EMAIL PROTECTED]> wrote: >> On Fri, Sep 5, 2008 at 1:04 PM, castironpi <[EMAIL PROTECTED]> wrote: >> > On Sep 5, 3:28 am, "Manu Hack" &