Installation Python 3.6.x on Windows using command line installer (without GUI)

2017-07-27 Thread Andreas Jung
I need to installed Python 3.6.x on Windows as part of an automated process without user-interaction. Recently Python releases provided MSI files for installation using the "msiexec" utility however there are no more MSI release files available for Python 3.6.X. Are there any alternatives? -aj

Re: Falsey Enums

2017-07-27 Thread Dan Sommers
On Fri, 28 Jul 2017 12:15:20 +1000, Steve D'Aprano wrote: > I has some Enums: > > from enum import Enum > class X(Enum): > Falsey = 0 > Truthy = 1 > Fakey = 2 > > > and I want bool(X.Falsey) to be False, and the others to be True. What should > I > do? Add the following to your en

Falsey Enums

2017-07-27 Thread Rustom Mody
Isn't dunder-bool what you want? (dunder-nonzero in python2) Dunno if special caveats for Enums PS sorry for phone-post -- I've broken my leg -- https://mail.python.org/mailman/listinfo/python-list

Falsey Enums

2017-07-27 Thread Steve D'Aprano
I has some Enums: from enum import Enum class X(Enum): Falsey = 0 Truthy = 1 Fakey = 2 and I want bool(X.Falsey) to be False, and the others to be True. What should I do? -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse.

Re: Recent Spam problem

2017-07-27 Thread Wildman via Python-list
On Tue, 25 Jul 2017 21:44:22 +, Grant Edwards wrote: > On 2017-07-25, Wildman via Python-list wrote: > >> The posts are being made through Google Groups. Forwarding >> the posts with headers to groups-ab...@google.com might help. > > I never has in the past. I (and many others) have for y

unpacking elements in python - any tips u want to share ?

2017-07-27 Thread Ganesh Pal
Hello Python friends , I need some inputs on the efficient way to unpack the elements in python , I know this is a very basic question , just curious to know if there are better way ways to achieve it . For our initial discussion let’s start with list I have a list with say 7 elements sa

Re: Basic python understanding

2017-07-27 Thread D'Arcy Cain
On 07/27/2017 09:59 AM, Grant Edwards wrote: If they have only ever used a single language, that may be a warning sign. Or if they list every language that they have ever smelled. -- D'Arcy J.M. Cain Vybe Networks Inc. http://www.VybeNetworks.com/ IM:da...@vex.net VoIP: sip:da...@vybenetworks.

Re: Basic python understanding

2017-07-27 Thread D'Arcy Cain
On 07/27/2017 09:34 AM, Rhodri James wrote: On 27/07/17 13:24, D'Arcy Cain wrote: Lesson: Look for programmers, not Python (or Perl or C or C++ or Java or...) programmers. This isn't universally true, I'm afraid. A friend of mine who is a very good C/assembler programmer simply cannot get hi

Re: Basic python understanding

2017-07-27 Thread Grant Edwards
On 2017-07-27, Gregory Ewing wrote: > I'd like to add that what you should really be looking for is not a > Python programmer as such, but simply a good, competent programmer. > > Any decent programmer will be able to quickly pick up what they need > to know about Python on the job. In a matter

Re: Installing matplotlib on python3

2017-07-27 Thread FS
Thank you Jussi. I didn't realize there was a separate version--I have it installed now cheers fritz -- https://mail.python.org/mailman/listinfo/python-list

Re: Basic python understanding

2017-07-27 Thread Rhodri James
On 27/07/17 13:24, D'Arcy Cain wrote: On 07/27/2017 02:31 AM, Gregory Ewing wrote: I'd like to add that what you should really be looking for is not a Python programmer as such, but simply a good, competent programmer. Any decent programmer will be able to quickly pick up what they need to know

Re: Case Solution: The Los Angeles Philharmonic Orchestra Cultural Entrepreneurship by Rohit Deshpande, Annelena Lobb

2017-07-27 Thread t . ueda0820
On Saturday, July 1, 2017 at 10:56:39 PM UTC+3, Case Solution & Analysis wrote: > Case Solution and Analysis of The Los Angeles Philharmonic Orchestra: > Cultural Entrepreneurship by Rohit Deshpande, Annelena Lobb, send email to > casesolutionscentre(at)gmail(dot)com > > Case Study ID: 9-517-00

Re: Basic python understanding

2017-07-27 Thread D'Arcy Cain
On 07/27/2017 02:31 AM, Gregory Ewing wrote: I'd like to add that what you should really be looking for is not a Python programmer as such, but simply a good, competent programmer. Any decent programmer will be able to quickly pick up what they need to know about Python on the job. If they can't

Re: Installing matplotlib on python3

2017-07-27 Thread alister via Python-list
On Thu, 27 Jul 2017 04:40:40 -0700, FS wrote: > I just installed matplotlib on debian and I tried to import it on > python3. It cannot be found however it can be found on python 2.x. No > surprise: > A 'find -name matplotliib' reveals: > /usr/share/matplotlib /usr/lib/python2.7/dist-packages/mat

Re: Installing matplotlib on python3

2017-07-27 Thread Jussi Piitulainen
FS writes: > I just installed matplotlib on debian and I tried to import it on > python3. It cannot be found however it can be found on python 2.x. No > surprise: > A 'find -name matplotliib' reveals: > /usr/share/matplotlib > /usr/lib/python2.7/dist-packages/matplotlib > > I am not sure how the

Installing matplotlib on python3

2017-07-27 Thread FS
I just installed matplotlib on debian and I tried to import it on python3. It cannot be found however it can be found on python 2.x. No surprise: A 'find -name matplotliib' reveals: /usr/share/matplotlib /usr/lib/python2.7/dist-packages/matplotlib I am not sure how the apt-get elected to place