utils: Generically useful stuff that doesn’t fit elsewhere


Can an icon image be associated with a file on this operating system.

flattened(input, return_types=(<class 'list'>, <class 'tuple'>, <class 'set'>))

Return new flattened version of input

Parameters:input : a sequence instance (list, tuple, or set)
Returns:A sequence of the same type as the input.

Initialize OpenSSL’s CA certificates file.

Makes it so certificates can be verified.

set_file_icon(path, image)

Assoicate an icon image with a file to be shown by the operating system file browser.