Search found 3 matches

by okay1984
Wed Apr 03, 2019 7:23 am
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 7
Replies: 11
Views: 72129

Re: MicroPython Newsletter Issue 7

Just purchased!!! Can not wait.

Thanks for sharing the schematics btw. Would you please post the WBUS DIP 68 or 28 dimensions? Also the TILE dimensions. Then we would design our own TILEs.

Thanks again!!!! PYB go go go!!!
by okay1984
Tue May 23, 2017 3:50 am
Forum: General Discussion and Questions
Topic: Get Attribute of a Class
Replies: 2
Views: 2787

Re: Get Attribute of a Class

Thank you Peter, appreciated.
by okay1984
Sat May 20, 2017 3:53 pm
Forum: General Discussion and Questions
Topic: Get Attribute of a Class
Replies: 2
Views: 2787

Get Attribute of a Class

def add_lookup(cls): varnames = filter(str.isupper, cls.__dict__.keys()) lookup = dict(map(lambda varname: (cls.__dict__.get(varname, None), varname), varnames)) setattr(cls, 'lookup', lookup) return cls Guys, Please help me to convert this function for MicroPython. Thanks a lot. There is no __dict_...