Re: IPython Notebooks to Learn Python

2015-10-09 Thread Rémi Rampin
oncepts instead of using the common, documented names (like "implicit argument" -- why?). As it stands, I don't see the value in this when compared to the official documentation <https://docs.python.org/2/tutorial/index.html>. Why not work on improving that, or converti

HTTP Proxy : receive call on local socket takes a lot of time

2011-07-09 Thread Rémi
### ('127.0.0.1', 49674) Do you have any idea what the problem could be ? I tried to manually close self.request request, but I still have the problem. Is it related to "allow_reuse_address = 1" ? Thanks for your help ! Rémi -- http://mail.python.org/mailman/listinfo/python-list

Error using httlib's HTTPSConnection with PKCS#12 certificate

2010-04-13 Thread Rémi
I'm trying to use httplib's HTTPSConnection for client validation, using a PKCS #12 certificate. I know the certificate is good, as I can connect to the server using it in MSIE and Firefox. Here's my connect function (the certificate includes the private key). I've pared it down to just the basi

Re: Terminal application with non-standard print

2010-01-27 Thread Rémi
On 25 jan, 23:30, Sean DiZazzo wrote: > On Jan 24, 11:27 am, Rémi wrote: > > > > > Hello everyone, > > > I would like to do a Python application that prints data to stdout, but > > not the common way. I do not want the lines to be printed after each > >

Re: Terminal application with non-standard print

2010-01-24 Thread Rémi
My apologies, I did not run the lines properly. Thanks, that works great now. If I understand well, \r erases the last line. How about erasing the previous lines? For example when writing sys.stdout.write("1\n2\n") sys.stdout.write("\r3") the "1" is still visibl

Re: Terminal application with non-standard print

2010-01-24 Thread Rémi
Thank you for your answer, but that does not work : the second line is printed after the first one. -- Rémi Grant Edwards wrote: On 2010-01-24, R?mi wrote: I would like to do a Python application that prints data to stdout, but not the common way. I do not want the lines to be printed

Terminal application with non-standard print

2010-01-24 Thread Rémi
Hello everyone, I would like to do a Python application that prints data to stdout, but not the common way. I do not want the lines to be printed after each other, but the old lines to be replaced with the new ones, like wget does it for example (when downloading a file you can see the percentage

Re: Rename multiple files using names in a text file

2007-09-15 Thread rémi
quot;while i <= len(list_jpg_strip)" and i should have been "while i < len(list_jpg_strip)". Antoher problem was the name of jpg's files used for testing. A naughty one was nammed "file.jpg " instead of "file.jpg". So maube, as you saif, stripp

Rename multiple files using names in a text file

2007-09-14 Thread rémi
hile i <= len(list_jpg_strip): rename(list_jpg_strip[i],list_names[i]) i=i+1 The error message is : File "ecm.py", line 17, in rename(list_jpg_strip[i],list_names[i]) OSError: [Errno 2] No such file or directory and all files exists, I checked it hundred tim