Re: Why does __ne__ exist?

2018-01-07 Thread breamoreboy
On Monday, January 8, 2018 at 12:02:09 AM UTC, Ethan Furman wrote: > On 01/07/2018 12:33 PM, Chris Angelico wrote: > > On Mon, Jan 8, 2018 at 7:13 AM, Thomas Jollans wrote: > >> On 07/01/18 20:55, Chris Angelico wrote: > >>> Under what circumstances would you want "x != y" to be different from >

Re: Why does __ne__ exist?

2018-01-07 Thread breamoreboy
On Sunday, January 7, 2018 at 7:55:57 PM UTC, Chris Angelico wrote: > Whoops, premature send. Picking up from the last paragraph. > > This is good. This is correct. For inequalities, you can't assume that > >= is the exact opposite of < or the combination of < and == (for > example, sets don't

Re: Plot map wit a white and black box

2018-01-08 Thread breamoreboy
On Monday, January 8, 2018 at 1:16:08 PM UTC, jorge@cptec.inpe.br wrote: > Hi, > > Please, I woudl like to plot a map like this figure. How can I do this > using Python2.7 > > Thanks, > > Conrado Figures don't get through and you've all ready asked this question, possibly on another

Re: Simple graphic library for beginners

2018-01-10 Thread breamoreboy
On Wednesday, January 10, 2018 at 12:42:07 PM UTC, Jan Erik Moström wrote: > I'm looking for a really easy to use graphic library. The target users > are teachers who have never programmed before and is taking a first (and > possible last) programming course. > > I would like to have the

Re: Where are the moderators?

2018-01-18 Thread breamoreboy
On Thursday, January 18, 2018 at 10:38:18 PM UTC, Mike Driscoll wrote: > Hi, > > What happened to the moderators? I have always liked this forum, but there's > so much spam now. Is there a way to become a moderator so this can be cleaned > up? > > Thanks, > Mike Simply point your email client

Re: error message by installation

2018-01-19 Thread breamoreboy
On Friday, January 19, 2018 at 8:47:52 PM UTC, i.na...@yahoo.com wrote: > kindly inform me what to do. Please read this http://www.catb.org/esr/faqs/smart-questions.html and then try asking again. -- Kindest regards. Mark Lawrence. -- https://mail.python.org/mailman/listinfo/python-list

Re: Speeding up the implementation of Stochastic Gradient Ascent in Python

2018-01-17 Thread breamoreboy
On Wednesday, January 17, 2018 at 2:30:13 PM UTC, Leo wrote: > Hello everyone, > > I am implementing a time-dependent Recommender System which applies BPR > (Bayesian Personalized Ranking), where Stochastic Gradient Ascent is used to > learn the parameters of the model. Such that, one

Why does pylint give this warning?

2018-01-14 Thread breamoreboy
The warning is 'C0103:Method name "__len__" doesn't conform to '_?_?[a-z][A-Za-z0-9]{1,30}$' pattern' but it doesn't complain about __repr__ or __str__. If there is an explanation out in the wild my search fu has missed it :-( My setup on Ubuntu 17.10 is:- $ pylint --version Using config

Re: Why does pylint give this warning?

2018-01-14 Thread breamoreboy
On Sunday, January 14, 2018 at 10:32:44 PM UTC, Skip Montanaro wrote: > > I cannot replicate this with > > > > $ pylint --version > > Using config file /home/petto/.pylintrc > > pylint 1.8.1, > > astroid 1.6.0 > > Python 3.4.0 (default, Apr 11 2014, 13:05:11) > > [GCC 4.8.2] > > > > $ cat

Re: Simple graphic library for beginners

2018-01-12 Thread breamoreboy
On Friday, January 12, 2018 at 6:52:32 AM UTC, Steven D'Aprano wrote: > On Fri, 12 Jan 2018 12:45:04 +1300, Gregory Ewing wrote: > > > Seems to me it would help if pip were to announce which version of > > Python it's installing things into. And instead of just saying "not > > compatible with

Re: Simple graphic library for beginners

2018-01-11 Thread breamoreboy
On Thursday, January 11, 2018 at 8:34:30 PM UTC, bartc wrote: > On 11/01/2018 20:12, Chris Angelico wrote: > > On Fri, Jan 12, 2018 at 7:02 AM, bartc wrote: > >> On 11/01/2018 19:41, Paul Moore wrote: > >>> > >>> On 11 January 2018 at 18:33, bartc wrote: > >> >

Re: Please help on print string that contains 'tab' and 'newline'

2018-01-27 Thread breamoreboy
On Saturday, January 27, 2018 at 8:16:58 PM UTC, Jason Qian wrote: > HI > >I am a string that contains \r\n\t > >[Ljava.lang.Object; does not exist*\r\n\t*at com.livecluster.core.tasklet > >I would like it print as : > > [Ljava.lang.Object; does not exist > tat

Re: Help to debug my free library

2018-01-31 Thread breamoreboy
On Wednesday, January 31, 2018 at 7:41:50 PM UTC, Victor Porton wrote: > wxjmfa...@gmail.com wrote: > > > Le mercredi 31 janvier 2018 20:13:06 UTC+1, Chris Angelico a écrit : > >> On Thu, Feb 1, 2018 at 5:58 AM, Victor Porton wrote: > >> > LibComCom is a C library which passes a string as stdin

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Groups

2018-02-03 Thread breamoreboy
On Thursday, February 1, 2018 at 5:01:58 PM UTC, superchromix wrote: > Our own programming discussion newsgroup, located at comp.lang.idl-pvwave, > started receiving spam messages several months ago. > > Two weeks ago, access to comp.lang.idl-pvwave was blocked by Google Groups. > > When

Re: From recovery.js to recoveryjsonlz4

2018-02-05 Thread breamoreboy
On Monday, February 5, 2018 at 1:28:16 PM UTC, Cecil Westerhof wrote: > I have a script to get the number of windows and tabs that firefox > uses. It always used a file recovery.js, but it changed to > recovery.jsonlz4. > > Looking at the extension I would think it is an lz4 compressed file. >

Re: Where is _sre.SRE_Match?

2018-02-07 Thread breamoreboy
On Wednesday, February 7, 2018 at 5:20:42 PM UTC, Chris Angelico wrote: > On Thu, Feb 8, 2018 at 4:15 AM, Peng Yu wrote: > > Hi, > > > > I see _sre.SRE_Match is returned by re.match. But I don't find where > > it is defined. Does anybody know how to get its help page within > > python command

Re: This newsgroup (comp.lang.python) may soon be blocked by Google Gro

2018-02-08 Thread breamoreboy
On Sunday, February 4, 2018 at 12:15:16 AM UTC, pyotr filipivich wrote: > Those of us who do not use google-groups may not notice the loss > of the google groupies. > -- > pyotr filipivich > Next month's Panel: Graft - Boon or blessing? This topic has been hidden because you reported it

Re: Gmane seems to be gone

2018-02-19 Thread breamoreboy
On Sunday, February 18, 2018 at 8:23:03 PM UTC, Mark Lawrence wrote: > On 18/02/18 18:03, Grant Edwards wrote: > > On 2018-02-18, Dennis Lee Bieber wrote: > >> On Sun, 18 Feb 2018 17:26:54 + (UTC), Grant Edwards > >> declaimed the following: > >> > >>> > >>> It was

Re: could use some help with this problem! I've been working on it for days but cant seem to get it right !

2018-02-19 Thread breamoreboy
On Tuesday, February 20, 2018 at 5:08:49 AM UTC, Marc Cohen wrote: > USING PYTHON 2: > > Write a program to play this game. This may seem tricky, so break it down > into parts. Like many programs, we have to use nested loops (one loop inside > another). In the outermost loop, we want to keep

Re: Are the critiques in "All the things I hate about Python" valid?

2018-02-19 Thread breamoreboy
On Monday, February 19, 2018 at 1:07:02 PM UTC, Anders Wegge Keller wrote: > På Mon, 19 Feb 2018 04:39:31 + (UTC) > Steven D'Aprano skrev: > > On Mon, 19 Feb 2018 04:26:32 +0100, Anders Wegge Keller wrote: > > > > > På Mon, 19 Feb 2018 08:47:14 +1100 > > > Tim Delaney skrev: > > >> On 18

Re: Gmane seems to be gone

2018-02-18 Thread breamoreboy
On Sunday, February 18, 2018 at 9:16:26 AM UTC, Chris Green wrote: > Grant Edwards wrote: > > I've been dreading this moment for a couple years: it looks like > > gmane.org is gone. The original operator/maintainer gave up a couple > > years ago and pulled the plug.

Re: Gmane seems to be gone

2018-02-18 Thread breamoreboy
On Sunday, February 18, 2018 at 1:18:20 AM UTC, Grant Edwards wrote: > I've been dreading this moment for a couple years: it looks like > gmane.org is gone. The original operator/maintainer gave up a couple > years ago and pulled the plug. Somebody else took over at that point. > The Web UI was

Re: Goto

2017-12-28 Thread breamoreboy
On Thursday, December 28, 2017 at 7:40:14 PM UTC, alister wrote: > On Thu, 28 Dec 2017 00:58:48 -0200, Duram wrote: > > > How to use goto in python? > > > > --- > > This email has been checked for viruses by AVG. > > http://www.avg.com > > Dont! > actually you cant - there isn't one* > > *at

Re: Goto

2017-12-28 Thread breamoreboy
On Friday, December 29, 2017 at 3:28:23 AM UTC, Ben Finney wrote: > Tim Chase writes: > > > [third-party website] > > Gives you […] > > So, it's not in Python, it's a third-party (joke) package. Hence is > probably not what Duram is asking about as “goto in Python”. > > I'm still open to

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Sunday, December 31, 2017 at 6:56:16 PM UTC, bartc wrote: > On 31/12/2017 17:01, breamoreboy wrote: > > >Further I've never once in 17 years of using Python been tearing my hair out > >over the lack of goto > > Neither have I over all the advanced featur

Re: stop prohibition of comp.lang.python !

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 3:00:19 PM UTC, S. I. wrote: > stop prohibition of comp.lang.python ! > > it is childish to do this prohibition business ! > > don't you have spam filters ? The prohibition part of the subject line is added by Lawrence D'Oliveiro when he posts on google groups as

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 9:28:01 PM UTC, Wu Xi wrote: > > Blocking of spamming and trolling prevents oppression of people who want to > > use the list, funded by PSF, for its purpose, discussion of Python. > > why are PSF funds privileged over anybody else's fund, which has zero >

Re: ✨✨ python 2018 wiki - a piece of cake ✨✨

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 2:54:26 PM UTC, S. I. wrote: > https://practical-scheme.net/wiliki/wiliki.cgi?python > > no register, no nothing ! just edit. > > ✨✨ python - a piece of cake ✨✨ > > just edit or enter acode.py entry with > > {{{ > > print(" oh yes, 2018 ") >

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 12:53:03 PM UTC, Wu Xi wrote: > breamoreboy: > > On Sunday, December 31, 2017 at 6:19:13 PM UTC, Wu Xi wrote: > >> breamoreboy: > >>> An interesting write up on something that is incorporated into Python 3.7 > >>> https

Re: stop prohibition of comp.lang.python ! D'Oliveiro should wear this as a badge of honour.

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 11:06:30 PM UTC, P. timoriensis wrote: > >> stop prohibition of comp.lang.python ! > >> > >> it is childish to do this prohibition business ! > >> > >> don't you have spam filters ? > > > > The prohibition part of the subject line is added by Lawrence D'Oliveiro > >

Re: ... (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 10:21:15 PM UTC, P. timoriensis wrote: > >>> Blocking of spamming and trolling prevents oppression of people who want > >>> to use the list, funded by PSF, for its purpose, discussion of Python. > >> > >> why are PSF funds privileged over anybody else's fund, which

Re: Goto (Posting On Python-List Prohibited)

2018-01-01 Thread breamoreboy
On Monday, January 1, 2018 at 9:35:06 PM UTC, Chris Angelico wrote: > On Tue, Jan 2, 2018 at 7:16 AM, Chris Green wrote: > > Dennis Lee Bieber wrote: > >> > >> Well... "break" does bypass the rest of the block, but it still > >> exits > >> via the end of the block. I have a tendency to

Re: Copy-on-write friendly Python garbage collection

2018-01-01 Thread breamoreboy
On Sunday, December 31, 2017 at 6:19:13 PM UTC, Wu Xi wrote: > breamoreboy: > > An interesting write up on something that is incorporated into Python 3.7 > > https://engineering.instagram.com/copy-on-write-friendly-python-garbage-collection-ad6ed5233ddf > > Appearantly, Er

Re: How to use asyncore with SSL?

2018-01-22 Thread breamoreboy
On Thursday, January 18, 2018 at 11:25:58 PM UTC, Grant Edwards wrote: > I've been trying to use the secure smtpd module from > https://github.com/bcoe/secure-smtpd, but the SSL support seems to be > fundamentally broken. That module simply wraps a socket and then > expects to use it in the

Re: Installing "kitchen" module

2018-01-22 Thread breamoreboy
On Monday, January 22, 2018 at 3:37:44 PM UTC, codyda...@gmail.com wrote: > So here's the situation. I am unfamiliar with Python but need it to export a > wiki, so I have been following this tutorial, using the latest version of > Python 2 on Windows 7: > >

<    1   2   3