Mar-15-2017, 07:47 PM
I rewrote it with this
sorted(json.loads(json_list),key=lambda d:("Order" not in d, int(d.get("Order"))))
Python ReportLab
|
|
Messages In This Thread |
Python ReportLab - by ek5442 - Mar-15-2017, 05:50 PM
RE: Python ReportLab - by Larz60+ - Mar-15-2017, 07:21 PM
RE: Python ReportLab - by ek5442 - Mar-15-2017, 07:35 PM
RE: Python ReportLab - by Larz60+ - Mar-15-2017, 07:41 PM
RE: Python ReportLab - by ek5442 - Mar-15-2017, 07:43 PM
RE: Python ReportLab - by Larz60+ - Mar-15-2017, 07:46 PM
RE: Python ReportLab - by ek5442 - Mar-15-2017, 07:47 PM
|