Re: Everything good about Python except GUI IDE?

2016-02-27 Thread Marco Kaulea
Hi, Haven't tried it myself, but pyforms[1] might suit your needs. - Marco [1] http://pyforms.readthedocs.org/en/latest/ On Sat, Feb 27, 2016 at 12:18 PM, wrote: > I have some VB forms with more than a hundred objects. If I cannot drag > and drop text boxes, list boxes, labels, etc., it will

Re: Set Operations on Dicts

2016-02-08 Thread Marco Kaulea
On Mon, Feb 8, 2016 at 1:17 PM, Jussi Piitulainen < jussi.piitulai...@helsinki.fi> wrote: > I think nobody was quite willing to lay down the law on which dictionary > would take precedence when they have keys in common but different values > on those keys. Both ways make sense, and sometimes you w

Set Operations on Dicts

2016-02-08 Thread Marco Kaulea
Hi, In one talk (I think it was [1]) it was described that sets are basically dicts without the values. Therefor it should be easy to apply set operations on dicts, for example: {'a': 123, 'b': 456} & {'a'} => {'a': 123} {'a': 123, 'b': 456} - {'a'} => {'b': 456} This if currently not implemented

Re: New JSON encoding method proposal for custom objects

2015-11-30 Thread Marco Kaulea
ism in json that > tells you what class of object you have. But I am not sure how useful that PEP/Change would be, assuming the code in Peter's response works. - Marco Kaulea -- https://mail.python.org/mailman/listinfo/python-list