Re: [Tutor] What exactly does the three dots do? Why such as thing?

2017-08-11 Thread Steven D'Aprano
On Fri, Aug 11, 2017 at 07:57:09AM -0600, Mats Wichmann wrote: > On 08/10/2017 05:23 PM, Alan Gauld via Tutor wrote: > > On 10/08/17 14:39, C W wrote: > > > >> I suppose it's just a place holder, though I don't know when I would use it > >> in my every day life. > > > > Probably never. > > > > L

Re: [Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread eryk sun
On Fri, Aug 11, 2017 at 6:27 PM, Alan Gauld via Tutor wrote: > On 11/08/17 19:13, Chris Warrick wrote: > >> False since Python 3.4/2.7.9. ensurepip installs Python on every new >> Python install. > > Sorry Chris, that's not making sense? Do you mean ensurepip > installs setuptools on every install

Re: [Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread Alan Gauld via Tutor
On 11/08/17 19:13, Chris Warrick wrote: >>> a) people who just downloaded Python and never installed >>>anything else > > False since Python 3.4/2.7.9. ensurepip installs Python on every new > Python install. Sorry Chris, that's not making sense? Do you mean ensurepip installs setuptools on

Re: [Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread Chris Warrick
On 11 August 2017 at 19:54, Mats Wichmann wrote: > On 08/11/2017 09:54 AM, Alan Gauld via Tutor wrote: >> On 11/08/17 13:35, Thomas Güttler wrote: >> >>> I guess most python installations have setuptools. >> >> I guess so too, although I don't know. >> Those that don't are probably in one of two c

Re: [Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread Mats Wichmann
On 08/11/2017 09:54 AM, Alan Gauld via Tutor wrote: > On 11/08/17 13:35, Thomas Güttler wrote: > >> I guess most python installations have setuptools. > > I guess so too, although I don't know. > Those that don't are probably in one of two categories > a) people who just downloaded Python and ne

Re: [Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread Alan Gauld via Tutor
On 11/08/17 13:35, Thomas Güttler wrote: > I guess most python installations have setuptools. I guess so too, although I don't know. Those that don't are probably in one of two categories a) people who just downloaded Python and never installed anything else b) people working for large parano

Re: [Tutor] What exactly does the three dots do? Why such as thing?

2017-08-11 Thread Alan Gauld via Tutor
On 11/08/17 14:57, Mats Wichmann wrote: >> obscure features. Most Python programmers never use ellipses, > > I guess what this means is when I post code snippets with some lines > elided for greater readability of the point being made I should not use > ellipses for that, as they're actually a sy

[Tutor] Percentage of installations without setuptools (Was if __name__=='__main__' ...)

2017-08-11 Thread Thomas Güttler
I start a new thread, since this is a new topic. I don't have the deep knowledge like Chris, Steven or Alan. I guess most python installations have setuptools. But this is only my naive vague guess. How high is the percentage of python installation which don't have setuptools? I have no clue.

Re: [Tutor] What exactly does the three dots do? Why such as thing?

2017-08-11 Thread Mats Wichmann
On 08/10/2017 05:23 PM, Alan Gauld via Tutor wrote: > On 10/08/17 14:39, C W wrote: > >> I suppose it's just a place holder, though I don't know when I would use it >> in my every day life. > > Probably never. > > Like most programming languages Python has a load of rarely used, > obscure featur