SCons 4.0.1 Released

2020-07-16 Thread Bill Deegan
A new SCons release, 4.0.1, is now available on the SCons download page: https://scons.org/pages/download.html Here is a summary of the changes since 4.0.1: NEW FUNCTIONALITY - Added Environment() variable TEMPFILEDIR which allows setting the directory which temp fil

excel (multiple sheets) to yml file for each sheet

2020-07-16 Thread stack flow
Hi, I have excel file with multiple sheets and need output as yml file for each sheet. could someone help me with python code? following is an example: aep sheet: aepaep_description infra_vlan test_AEP test aepno aeps_to_domain sheet: aep domain

Re: frozendict: an experiment

2020-07-16 Thread Inada Naoki
On Fri, Jul 17, 2020 at 2:16 AM Marco Sulla wrote: > > On Thu, 16 Jul 2020 at 06:11, Inada Naoki wrote: > > On Thu, Jul 16, 2020 at 2:32 AM Marco Sulla > > wrote: > > > Yes, but, instead of creating a view, you can create and cache the > > > pointer of a "real" object, that implements the dict v

Re: A rule for your twitlist/mailing list

2020-07-16 Thread Grant Edwards
On 2020-07-15, Jim wrote: > On 7/14/20 9:51 PM, Grant Edwards wrote: >> On 2020-07-15, Cameron Simpson wrote: >>> On 14Jul2020 08:49, Nomen Nescio wrote: >> Is the mailing list for comp.lang.python still open? >>> >>> If you mean the python-list mailing list, yes. It is what I use, and it

Re: frozendict: an experiment

2020-07-16 Thread Marco Sulla
On Thu, 16 Jul 2020 at 06:11, Inada Naoki wrote: > On Thu, Jul 16, 2020 at 2:32 AM Marco Sulla > wrote: > > Yes, but, instead of creating a view, you can create and cache the > > pointer of a "real" object, that implements the dict view API. > > For example, keys for a frozendict could be an "ord

Re: frozendict: an experiment

2020-07-16 Thread Marco Sulla
On Wed, 15 Jul 2020 at 08:07, Inada Naoki wrote: > I don't think so. The view objects are useful when we need a set-like > operation. (e.g. `assert d.keys() == {"spam", "egg"}`) Yes, but, instead of creating a view, you can create and cache the pointer of a "real" object, that implements the dic

Re: A rule for your twitlist/mailing list

2020-07-16 Thread Jim
On 7/14/20 9:51 PM, Grant Edwards wrote: On 2020-07-15, Cameron Simpson wrote: On 14Jul2020 08:49, Nomen Nescio wrote: Is the mailing list for comp.lang.python still open? If you mean the python-list mailing list, yes. It is what I use, and it does not suffer from the spam you describe. H

How to match scipy.spatial.distance results back to pandas df

2020-07-16 Thread Vincent Davis
I am trying to find points in the activity that are near points in segment. I get the results from distance() and what to identify the points in segment and activity that are within some value of each other .0001 for example. One idea I had was to append each array row (or column) to the correspond