[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Luc
Luc <ouaga...@gmail.com> added the comment: If we are trying to fix this, the behavior should be like computing the mean or harmonic mean with the statistics library when there are missing values in the data. At least that way, it is consistent with how the statistics library work

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-16 Thread Luc
Luc <ouaga...@gmail.com> added the comment: Just to make sure we are focused on the issue, the reported bug is with the statistics library (not with numpy). It happens, when there is at least one missing value in the data and involves the computation of the median, median_low and media

[issue33084] Computing median, median_high an median_low in statistics library

2018-03-15 Thread Luc
New submission from Luc <ouaga...@gmail.com>: When a list or dataframe serie contains NaN(s), the median, median_low and median_high are computed in Python 3.6.4 statistics library, however, the results are wrong. Either, it should return a NaN just like when we try to compute a mean or

[issue30941] Missing line in example program

2017-07-16 Thread Luc Bougé
New submission from Luc Bougé: On page <https://docs.python.org/3.6/_sources/library/stdtypes.txt>, the following program is listed. It raises a syntactic error. An empty line is missing after "... n += val" to close the loop body. >>> # iteration

[issue30741] https://www.pypi-mirrors.org/ error 503

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: is that linked with the certificate error on pypi ? you redirect http request to https, but you still listen 80 and not 443 ? -- messages: 296721 nosy: Luc Zimmermann priority: normal severity: normal status: open title: https://www.pypi-mirrors.org

[issue30739] pypi ssl errors [CERTIFICATE_VERIFY_FAILED]

2017-06-23 Thread Luc Zimmermann
New submission from Luc Zimmermann: Hi Guys, I've a strange behavior. We use python for configure our new boxes with openWRT and coovaChilli. But since yesterday, when i ask to pip to dowload PyJWT, json-cfg and speedtest-cli, some boxes can download these packages, and some can't. root

[issue24515] docstring of isinstance

2015-06-26 Thread Luc Saffre
New submission from Luc Saffre: The docstring of built-in function 'isinstance' should explain that if the classinfo is a tuple, the object must be instance of *any* (not *all*) of the class objects. -- assignee: docs@python components: Documentation messages: 245841 nosy: Luc Saffre

File read from stdin and printed to temp file are not identicial?

2010-09-16 Thread Jean Luc Truchtersheim
sys.exit() #- I feel that I must be doing something very stupid, but I don't really know what. Any idea? Can anybody reproduce this behavior. Thanks a bunch for any help. Jean Luc. -- http

Re: File read from stdin and printed to temp file are not identicial?

2010-09-16 Thread Jean Luc Truchtersheim
Dear Fellow python users, Many thanks for your help. Those missing brackets were the cause of my problem. Now my program works as expected. Many, many heartfelt thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Absolute beginner

2009-12-30 Thread Luc
Thanks Krister ! Should have read specific 3.1 documentation :-( . Regards, Luc On Dec 30, 12:56 pm, Krister Svanlund krister.svanl...@gmail.com wrote: In Python 3 the syntax for print has changed to print() so just put braces around the string and you'r good to go! On Wed, Dec 30, 2009

Re: Absolute beginner

2009-12-30 Thread Luc
Also thanks Ben and Simon for your help ! On Dec 30, 1:07 pm, Luc lucbo...@hotmail.com wrote: Thanks Krister ! Should have read specific 3.1 documentation :-(  . Regards,  Luc On Dec 30, 12:56 pm, Krister Svanlund krister.svanl...@gmail.com wrote: In Python 3 the syntax for print has

Re: Reading hex to int from a binary string

2009-10-09 Thread Luc
On Oct 9, 3:12 am, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Thu, 8 Oct 2009 14:52:33 -0700 (PDT), Luc luc.traonmi...@gmail.com declaimed the following in gmane.comp.python.general: On Oct 8, 11:13 pm, Diez B. Roggisch de...@nospam.web.de wrote: Luc schrieb: Hi all, I

Reading hex to int from a binary string

2009-10-09 Thread Luc
Hi all, I read data from a binary stream, so I get hex values as characters (in a string) with escaped x, like \x05\x88, instead of 0x05. I am looking for a clean way to add these two values and turn them into an integer, knowing that calling int() with base 16 throws an invalid literal

Re: Reading hex to int from a binary string

2009-10-09 Thread Luc
On Oct 9, 10:45 am, Diez B. Roggisch de...@nospam.web.de wrote: Luc schrieb: On Oct 8, 11:13 pm, Diez B. Roggisch de...@nospam.web.de wrote: Luc schrieb: Hi all, I read data from a binary stream, so I get hex values as characters (in a string) with escaped x, like \x05\x88, instead

Re: Reading hex to int from a binary string

2009-10-08 Thread Luc
On Oct 8, 11:13 pm, Diez B. Roggisch de...@nospam.web.de wrote: Luc schrieb: Hi all, I read data from a binary stream, so I get hex values as characters (in a string) with escaped x, like \x05\x88, instead of 0x05. I am looking for a clean way to add these two values and turn them

marked-up Python code

2007-11-20 Thread Luc Goossens
code_ smth like red else : print ERROR return -1 /red all the Python parser has to do is skip the mark-up. Has something like this been done before? Is there a way to do this without changing the Python executable? If not, where in the source code should I start looking? cheers, Luc PS1 I

Re: marked-up Python code

2007-11-20 Thread Luc Goossens
has been hidden? I will gladly settle for some pointer into the vim documentation, which I found already. many thanks, Luc On Nov 20, 2007, at 1:03 PM, Tim Chase wrote: all the Python parser has to do is skip the mark-up. [snip] I know I can put the mark-up after a # and the problem

Re: The Future of Python Threading

2007-08-10 Thread Luc Heinrich
Justin T. [EMAIL PROTECTED] wrote: What these seemingly unrelated thoughts come down to is a perfect opportunity to become THE next generation language. Too late: http://www.erlang.org/ :) -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: loose methods : Smalltalk asPython

2006-12-27 Thread Luc Heinrich
Jan Theodore Galkowski [EMAIL PROTECTED] wrote: Comments? Suggestions? http://www.ruby-lang.org -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: Good Looking UI for a stand alone application

2006-12-20 Thread Luc Heinrich
/%s' % (root, d, exename) popen = subprocess.Popen(['otool', '-L', exe], stdout=subprocess.PIPE) libs = popen.communicate()[0] if 'libwx' in libs: print d findLinkedWithWX('/Applications') findLinkedWithWX('/Developer') -- Luc

Re: Good Looking UI for a stand alone application

2006-12-18 Thread Luc Heinrich
suck. All of them. No exception. ESPECIALLY if one of your target is Mac OS. -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: Good Looking UI for a stand alone application

2006-12-18 Thread Luc Heinrich
-looking/feeling applications on all three major platforms, why is there so few of those applications on OS X ? Because Mac users are elitists assholes is not the good answer by the way :) -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: Good Looking UI for a stand alone application

2006-12-18 Thread Luc Heinrich
native widgets is *far* from enough. Such self-important pronouncements would be better received if you brought them down the mountain on stone tablets. No problem, let me get my chisel, do you prefer Fedex or UPS ? :p -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: Good Looking UI for a stand alone application

2006-12-17 Thread Luc Heinrich
application and embed it in platform native GUI code. -- Luc Heinrich -- http://mail.python.org/mailman/listinfo/python-list

Re: [Reported] (was Re: A critic of Guido's blog on Python's lambda)

2006-05-06 Thread Luc The Perverse
John Bokma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Reported for excessive crossposting. Did u report yourself? -- LTP :) -- http://mail.python.org/mailman/listinfo/python-list

Re: DO NOT USE JAVA BECAUSE IT IS NOT OPEN SOURCE

2006-04-01 Thread Luc The Perverse
steve [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sat, 1 Apr 2006 13:06:52 +0800, Luc The Perverse wrote (in article [EMAIL PROTECTED]): [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Programing Languiges Are Ment to be free. That is why i am starting The iCoo

Re: DO NOT USE JAVA BECAUSE IT IS NOT OPEN SOURCE

2006-03-31 Thread Luc The Perverse
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Programing Languiges Are Ment to be free. That is why i am starting The iCoo De Tar/i thats french for Blow of state it is a flash/java alternative and if you are going to use a server side languige use Perl,Python or better yet Ruby.

Re: String comparison question

2006-03-20 Thread luc . saffre
() == b.strip().split() Luc -- http://mail.python.org/mailman/listinfo/python-list

Re: Xah's Edu Corner: What is Expressiveness in a Computer Language

2006-03-19 Thread Luc The Perverse
John Bokma [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dag Sunde [EMAIL PROTECTED] wrote: Xah Lee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] What is Expressiveness in a Computer Language snipped_inane_chatter / PLONK. Don't post PLONK messages you idiot.

Re: OT: excellent book on information theory

2006-01-16 Thread Luc The Perverse
Paul Rubin http://[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Grant Edwards [EMAIL PROTECTED] writes: That made me smile on a Monday morning (not an insignificant accomplishment). I noticed in the one footnote that the H.P. book had been translated into American. I've always

Re: Xah's Edu Corner: Examples of Quality Technical Writing

2005-12-14 Thread Luc The Perverse
javuchi [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Why do you have such a need of being hating everything and everybody and expressing it so offen? Can you live without hate? Can you let others live without your hates? A person can live without hate, living love and working

Re: Microsoft Hatred FAQ

2005-10-25 Thread Luc The Perverse
Steven D'Aprano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tue, 25 Oct 2005 11:51:02 -0700, David Schwartz wrote: Steven D'Aprano [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] The first two points are factually wrong, and the third is an opinion based on the

Re: problem installing wxPython 2.5.3, wxWidgets installed ok

2005-02-27 Thread Luc
[EMAIL PROTECTED] a écrit: I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine. I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have everything. The make install in $WXDIR seemed to go fine. I have the

Web interface GUI??

2005-02-12 Thread Luc
I am a newbye. I am looking for a multi-platform user interface solution (windows, linux). Untill now, I used wxPython which worked fine at the beginning (MDK9, Windows NT4). Nevertheless, I was very disapointed when I noticed that my applications did not work with recent linux distributions

Re: Web interface GUI??

2005-02-12 Thread Luc
Irmen de Jong a écrit: Luc wrote: So I am looking for another solution with a web interface that should work with linux and windows XP. I had a look to zope but was afraid with the complexity and debug difficulties. Are there some other solutions? Yes. A lot: http://www.python.org/moin