Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 402 Bytes

README.md

File metadata and controls

11 lines (7 loc) · 402 Bytes

PYTHON-USEFULL-UTILS

Utils helps to work with python, make work easy)

  1. prn(any_object) - output to console info about "any_object": property, value type, etc...

  2. sort_by_attr(sort_object, key_name, direction=1) - sort dict or list by attr(property), and return's sorted object

    ------ direction = -1, 1 - sort way

other function's will have description later...