New answers tagged


I think this is a strange use of the path library: "/" + path.join('sys', 'class', 'leds', 'system76_acpi::kbd_backlight') + '/' It would be clearer as a single string, given that we don't need portability to non-Linux hosts: '/sys/class/leds/system76_acpi::kbd_backlight/'


Namespaces... ... are not for creating taxonomies. They are there to avoid name collisions. Also the chosen module alias for argparse seems strange. It's name is derived from argument parser so, if any, the obvious abbreviation should be ap. However, it might be better to just import the needed names, instead of creating taxonomies, since there are no name ...

Top 50 recent answers are included