Re: how to remove duplicates dict from the list of dictionary based on one of the elements is duplicate in list of dict

2019-11-16 Thread Cameron Simpson
On 17Nov2019 12:26, Iranna Mathapati wrote: How to remove duplicates dict from the list of dictionary based on one of the duplicate elements in the dictionary, l = [{"component":"software", "version":"1.2" }, {"component":"hardware", "version":"2.2",}, {"component":"driver", "version

how to remove duplicates dict from the list of dictionary based on one of the elements is duplicate in list of dict

2019-11-16 Thread Iranna Mathapati
Hi, How to remove duplicates dict from the list of dictionary based on one of the duplicate elements in the dictionary, l = [{"component":"software", "version":"1.2" }, {"component":"hardware", "version":"2.2",}, {"component":"driver", "version":"3.2",}, {"component":"firmware",

Re: nonlocal fails ?

2019-11-16 Thread Random832
On Fri, Nov 15, 2019, at 13:41, Dennis Lee Bieber wrote: > C# documents those as something visible to the user at the language > level... > https://www.infoworld.com/article/3043992/a-deep-dive-value-and-reference-types-in-net.html > """ > Types in Microsoft .Net can be either value type or r

Re: multiprocessing article on PYMOTW - subclassing with 'def run' and 'logging'

2019-11-16 Thread Veek M
answered here https://www.reddit.com/r/Python/comments/dxhgec/ how_does_multiprocessing_convert_a_methodrun_in/ basically starts two PVMs - the whole fork, check 'pid' trick.. one process continues as the main thread and the other calls 'run' -- https://mail.python.org/mailman/listinfo/python-li

Re: Storing data in queue

2019-11-16 Thread Cameron Simpson
On 16Nov2019 06:20, m.na...@gmail.com wrote: Hello guys I am struggling here and need help. How can I store sqlite3 database or a table in a queue. #help You need to provide more information here. Are you talking about a python stdlib Queue object, for queuing in-memory objects for proces

Re: What do you use for slides?

2019-11-16 Thread George Fischhof
Dan Stromberg ezt írta (időpont: 2019. nov. 15., P, 22:36): > I mostly use Libreoffice Impress, but I've also tried Google Slides. > > I don't think Impress does syntax highlighting out of the box, but there's > a plugin that claims to. > > Also, Google Slides purportedly supports highlighting ju

Storing data in queue

2019-11-16 Thread m . navti
Hello guys I am struggling here and need help. How can I store sqlite3 database or a table in a queue. #help -- https://mail.python.org/mailman/listinfo/python-list

multiprocessing article on PYMOTW - subclassing with 'def run' and 'logging'

2019-11-16 Thread Veek M
https://pymotw.com/2/multiprocessing/basics.html https://pymotw.com/2/threading/ I didn't follow this 1. >The logger can also be configured through the logging configuration file >API, using the name multiprocessing. and 2. >it is also possible to use a custom subclass. > import multiprocessi