Re: Friday Finking: Limiting parameters

2020-07-12 Thread dn via Python-list
On 12/07/20 10:10 PM, Barry Scott wrote: On 12 Jul 2020, at 00:15, DL Neil via Python-list mailto:python-list@python.org>> wrote: That does not necessarily mean that the function needs to know the particular representation or form of that data.   Let those be objects with getter methods for th

frozendict: an experiment

2020-07-12 Thread Marco Sulla
TL;DR: I tried to implement in CPython a frozendict here: https://github.com/Marco-Sulla/cpython Long explaining: What is a frozendict? It's an immutable dict. The type was proposed in the past but rejected: https://www.python.org/dev/peps/pep-0416/ So why did I try to implement it? IMO, apart t

Re: Need a Dynamic vlookup using python

2020-07-12 Thread narenchunduri
Sorry for not making it clear. I tried below code # import modules from openpyxl import * from openpyxl.styles import * import webbrowser import pandas from openpyxl.worksheet.datavalidation import DataValidation # Read all Excels into pandas dataframes sowexcel = pandas.read_excel('Billing Rost

Re: Friday Finking: Limiting parameters

2020-07-12 Thread Barry Scott
> On 12 Jul 2020, at 00:15, DL Neil via Python-list > wrote: > >> That does not necessarily mean that the function needs to know >> the particular representation or form of that data. Let those be >> objects with getter methods for the data you wish, and have the >> function document what m