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

2018-02-11 Thread Michael F. Stemper
On 2018-02-09 13:37, Chris Green wrote: Alternative approach, what I do:- Run a text mode (but very capable and mouse aware) newsreader on my home system, read news locally using that. Use ssh (is that available at worK?) to connect from work to home Your ISP provides that cap

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

2018-02-11 Thread Chris Angelico
On Sun, Feb 11, 2018 at 8:52 AM, Chris Green wrote: > Michael F. Stemper wrote: >> On 2018-02-09 13:37, Chris Green wrote: >> >> > Alternative approach, what I do:- >> > >> > Run a text mode (but very capable and mouse aware) newsreader on >> > my home system, read news locally using th

python desktop app making experience

2018-02-11 Thread Abdur-Rahmaan Janhangeer
Hi all, Just can you provide your own experience of developing and shipping a desktop app. Did you here about such a task before etc, until years after story. Abdur-Rahmaan Janhangeer https://abdurrahmaanjanhangeer.wordpress.com -- https://mail.python.org/mailman/listinfo/python-list

Re: Adding colormaps?

2018-02-11 Thread Martin Schöön
Den 2017-01-23 skrev Albert-Jan Roskam : > (sorry for top-posting) > I does not appear to be possible in matplolibrc (1). But you can > use matplotlib.cm.register_cmap to register new cmaps (2) such > as these (3). > > (Note: I did not try this) > > (1)http://matplotlib.org/1.4.0/users/customizing.

Re: python desktop app making experience

2018-02-11 Thread Abdur-Rahmaan Janhangeer
my bad *hear Abdur-Rahmaan Janhangeer https://abdurrahmaanjanhangeer.wordpress.com On 11 Feb 2018 17:05, "Abdur-Rahmaan Janhangeer" wrote: > Hi all, > > Just can you provide your own experience of developing and shipping a > desktop app. Did you here about such a task before etc, until years af

Re: What is more Pythonic: subclass or adding functionality to base class?

2018-02-11 Thread Paul Moore
On 11 February 2018 at 12:55, D'Arcy Cain wrote: > On 02/11/18 06:30, Victor Porton wrote: >> What is more pythonic? >> >> 1. Create its subclass PredicateParserWithError and add the additional field >> on_error to this class. >> >> 2. Add on_error field to the base class, setting it to None by de

Re: What is more Pythonic: subclass or adding functionality to base class?

2018-02-11 Thread D'Arcy Cain
On 02/11/18 06:30, Victor Porton wrote: > What is more pythonic? > > 1. Create its subclass PredicateParserWithError and add the additional field > on_error to this class. > > 2. Add on_error field to the base class, setting it to None by default, if > the class's user does not need this field.

What is more Pythonic: subclass or adding functionality to base class?

2018-02-11 Thread Victor Porton
The following is a real code fragment: ## class PredicateParser(object, metaclass=ABCMeta): """ Parses a given predicate (which may participate in several relationships) of a given RDF node. """ def __init__(self, predic

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

2018-02-11 Thread alister via Python-list
On Sat, 10 Feb 2018 17:12:54 +1200, mm0fmf wrote: > On 09/02/2018 21:05, codewiz...@gmail.com wrote: >> On Friday, February 9, 2018 at 2:48:17 PM UTC-5, Chris Green wrote: >>> codew...@gmail.com wrote: On Saturday, February 3, 2018 at 7:15:16 PM UTC-5, pyotr filipivich wrote: > [snip