Re: lmoments3 and scipy (again)

2020-10-13 Thread Kyle Stanley
Based on a search of the scipy docs, it looks like the function might have moved namespaces from scipy.misc.comb to scipy.special.comb ( https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.comb.html?highlight=comb#scipy-special-comb) when referenced in lmoments3. Alternatively, if yo

lmoments3 and scipy (again)

2020-10-13 Thread David Painter
I'm aware there have been problems with previous versions of lmoments3 working with scipy -- comb having been replaced in scipy. I thought by using pip to install numpy, scipy, lmoments3 [whence distr] I would get compatible latest versions. I'm using 32-bit Python 3.8.6. I've verified scipy 1.5.2

[ANN] Austin -- CPython frame stack sampler v2.0.0 is now available

2020-10-13 Thread Gabriele
I am delighted to announce the release 2.0.0 of Austin. If you haven't heard of Austin before, it is an open source frame stack sampler for CPython, distributed under the GPLv3 license. It can be used to obtain statistical profiling data out of a running Python application without a single line

Re: Simple question - end a raw string with a single backslash ?

2020-10-13 Thread Serhiy Storchaka
13.10.20 11:52, Tony Flury via Python-list пише: > I am trying to write a simple expression to build a raw string that ends > in a single backslash. My understanding is that a raw string should > ignore attempts at escaping characters but I get this : > >     >>> a = r'end\' >       File "", line

Re: Covariance matrix syntax

2020-10-13 Thread Bruno P. Kinoshita via Python-list
I think the np.cov is from the numpy module (imported/aliased as np?). If so, the numpy repository should have what you are looking for: https://github.com/numpy/numpy/blob/156cd054e007b05d4ac4829e10a369d19dd2b0b1/numpy/lib/function_base.py#L2276 Hope that helps Bruno On Tuesday, 13 October

Re: Weird behavior for IDLE...

2020-10-13 Thread Terry Reedy
On 10/13/2020 4:51 AM, Steve wrote: Why does IDLE always open with the lowest three lines of the window end up hidden below the bottom of the screen behind the task bar? Every time I use it, I have to stop and grab the top of the window and drag it up to see the line and row information. I expl

Re: What might cause my sample program to forget that already imported datetime?

2020-10-13 Thread Chris Angelico
On Tue, Oct 13, 2020 at 9:03 PM D'Arcy Cain wrote: > > On 10/12/20 7:20 AM, Chris Angelico wrote: > > This is yet another reason that "from MODULE import *" is a bad idea. > > Instead, just import the module itself, and take whatever you need. > > Or just import the objects that you need; > > from

Re: What might cause my sample program to forget that already imported datetime?

2020-10-13 Thread D'Arcy Cain
On 10/12/20 7:20 AM, Chris Angelico wrote: > This is yet another reason that "from MODULE import *" is a bad idea. > Instead, just import the module itself, and take whatever you need. Or just import the objects that you need; from datetime import datetime, SYMBOL, etc... I use Decimal a lot. I

Re: Simple question - end a raw string with a single backslash ?

2020-10-13 Thread Eryk Sun
On 10/13/20, Tony Flury via Python-list wrote: > I am trying to write a simple expression to build a raw string that ends > in a single backslash. My understanding is that a raw string should > ignore attempts at escaping characters but I get this : > > >>> a = r'end\' >File "", line

Simple question - end a raw string with a single backslash ?

2020-10-13 Thread Tony Flury via Python-list
I am trying to write a simple expression to build a raw string that ends in a single backslash. My understanding is that a raw string should ignore attempts at escaping characters but I get this : >>> a = r'end\'   File "", line 1     a = r'end\'   ^ SyntaxError:

Weird behavior for IDLE...

2020-10-13 Thread Steve
Why does IDLE always open with the lowest three lines of the window end up hidden below the bottom of the screen behind the task bar? Every time I use it, I have to stop and grab the top of the window and drag it up to see the line and row information. I explored the Options/Configure IDLE but di

Re: FW: NEED SOLUTION FOR ERROR

2020-10-13 Thread Kyle Stanley
It would also be helpful to list the full traceback as well as the exact command used (e.g. package attempted to install and passed arguments to pip). A bad file descriptor error sounds like there's a fair chance of it being an issue within a specific module, or something like your OS running out o