Python Training in Bangalore

2018-05-01 Thread ijazz jazz
Besant Technologies Provides Best Python Training Courses in Marathahalli, BTM Layout , Rajajinagar & Jaya Nagar at Bangalore. We train the students from basic level to advanced concepts with real time environment. https://www.besanttechnologies.com/training-courses/python-training-institute-in-

RE: [Python-Dev] [RELEASE] Python 2.7.15

2018-05-01 Thread Alex Walters
I've gotten some mixed signals on the status of this release, notably from the BDFL: https://twitter.com/gvanrossum/status/991170064417153025 "Python 2.7.15 released -- the last 2.7 release!" (and a link to this thread) I was under the impression that 2.7 was being supported until 2020. If this

Re: [Python-Dev] [RELEASE] Python 2.7.15

2018-05-01 Thread Guido van Rossum
Simple. I misread "latest" for "last" and was hopeful that no new bugs would need to be fixed between now and 2020. I will post a correction on Twitter now. On Tue, May 1, 2018 at 2:58 AM, Alex Walters wrote: > I've gotten some mixed signals on the status of this release, notably from > the BDFL

Re: [Python-Dev] [RELEASE] Python 2.7.15

2018-05-01 Thread Bill Deegan
Is it possible to get the release notes included on the download page(s)? On Tue, May 1, 2018 at 10:35 AM, Guido van Rossum wrote: > Simple. I misread "latest" for "last" and was hopeful that no new bugs > would need to be fixed between now and 2020. I will post a correction on > Twitter now. >

venv: make installed modules visible

2018-05-01 Thread Rich Shepard
Activating venv and trying to run the project Python tells me it cannot find the wxPython4 modules: Traceback (most recent call last): File "./openEDMS.py", line 12, in import wx ModuleNotFoundError: No module named 'wx' I've read the Python3 venv standard library doc page (section 28

Re: venv: make installed modules visible

2018-05-01 Thread Paul Moore
On 1 May 2018 at 17:06, Rich Shepard wrote: > Activating venv and trying to run the project Python tells me it cannot > find the wxPython4 modules: > > Traceback (most recent call last): > File "./openEDMS.py", line 12, in > import wx > ModuleNotFoundError: No module named 'wx' > > I've

Python 2.7.15 Windows MSI removes previous 2.7.x binaries?

2018-05-01 Thread phennings
I downloaded the 64-bit Windows MSI for Python 2.7.15 and upon finishing the installation, I noted that prior Python installs had effectively been removed, only leaving a Lib and Scripts folder in the directory to which said prior version had been installed. For what it's worth, it appears this

Re: Python 2.7.15 Windows MSI removes previous 2.7.x binaries?

2018-05-01 Thread Paul Moore
It's intended behaviour (to my knowledge). Or at least, we don't intend for people to install two different patch versions in parallel (at least not with the official installers). I thought this behaviour was always the case. It may be related to the installer technology involved, though, so it may

In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()?

2018-05-01 Thread C W
Hello everyone, In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()? To me, they are two of many summary statistics. So, why median() is different? Here's an example code, import numpy as np matrix = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) # find the mean np.mean(ma

Re: venv: make installed modules visible

2018-05-01 Thread Rich Shepard
On Tue, 1 May 2018, Paul Moore wrote: Maybe you need --system-site-packages? Paul, Thank you. I changed pyvenv.cfg to 'include-system-site-packages = true'. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: venv: make installed modules visible

2018-05-01 Thread Rich Shepard
On Tue, 1 May 2018, Dennis Lee Bieber wrote: Did you miss: Dennis, Yes, I did. Mea culpa, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Python 2.7.15 Windows MSI removes previous 2.7.x binaries?

2018-05-01 Thread Terry Reedy
On 5/1/2018 1:48 PM, Paul Moore wrote: It's intended behaviour (to my knowledge). Or at least, we don't intend for people to install two different patch versions in parallel (at least not with the official installers). I thought this behaviour was always the case. It may be related to the install

Todays XKCD

2018-05-01 Thread ElChino
Spot on! https://imgs.xkcd.com/comics/python_environment.png https://xkcd.com/1987/ -- https://mail.python.org/mailman/listinfo/python-list

Re: venv: make installed modules visible

2018-05-01 Thread Chris Warrick
On Tue, 1 May 2018 at 19:15, Paul Moore wrote: > Maybe you need --system-site-packages? DO NOT use this option. The entire point of a virtualenv is to be separate from both other environments and the system Python site-packages. The correct way to handle this is to install the modules using the

Re: In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()?

2018-05-01 Thread Thomas Jollans
On 01/05/18 19:57, C W wrote: > matrix.median()# throws error message READ error messages. At the very least, quote error messages when asking questions somewhere like here. There I was, wondering why the numpy docs didn't mention ndarray.median when you were clearly using it... Anyway,

Re: In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()?

2018-05-01 Thread C W
It's interesting how mean() can be implemented, but median() will break other packages. So, the default way in numpy is to use functions, not methods? When I first learned Python, I was told to create an object and to play around, there are methods for that object. List has list methods, tuple ha

Re: In numpy, why is it ok to do matrix.mean(), but not ok to do matrix.median()?

2018-05-01 Thread Chris Angelico
On Wed, May 2, 2018 at 12:22 PM, C W wrote: > It's interesting how mean() can be implemented, but median() will break > other packages. > > So, the default way in numpy is to use functions, not methods? > > When I first learned Python, I was told to create an object and to play > around, there are