time.localtime()

time.localtime([secs]) Like gmtime() but converts to local time. If secs is not provided or None, the current time as returned by time() is used. The dst flag is set to 1 when DST applies to the given time.

pathlib.Path.read_bytes()

Path.read_bytes() Return the binary contents of the pointed-to file as a bytes object: >>> p = Path('my_binary_file') >>> p.write_bytes(b'Binary file contents') 20 >>> p.read_bytes() b'Binary file contents' New in version 3.5.

threading.setprofile()

threading.setprofile(func) Set a profile function for all threads started from the threading module. The func will be passed to sys.setprofile() for each thread, before its run() method is called.

hashlib.algorithms_guaranteed

hashlib.algorithms_guaranteed A set containing the names of the hash algorithms guaranteed to be supported by this module on all platforms. New in version 3.2.

logging.handlers.QueueListener.stop()

stop() Stops the listener. This asks the thread to terminate, and then waits for it to do so. Note that if you don’t call this before your application exits, there may be some records still left on the queue, which won’t be processed.

ipaddress.IPv6Network.is_site_local

is_site_local These attribute is true for the network as a whole if it is true for both the network address and the broadcast address

unittest.TestCase.assertSequenceEqual()

assertSequenceEqual(first, second, msg=None, seq_type=None) Tests that two sequences are equal. If a seq_type is supplied, both first and second must be instances of seq_type or a failure will be raised. If the sequences are different an error message is constructed that shows the difference between the two. This method is not called directly by assertEqual(), but it’s used to implement assertListEqual() and assertTupleEqual(). New in version 3.1.

curses.window.nodelay()

window.nodelay(yes) If yes is 1, getch() will be non-blocking.

email.charset.Charset.get_output_charset()

get_output_charset() Return the output character set. This is the output_charset attribute if that is not None, otherwise it is input_charset.

tkinter.tix.DirSelectBox

class tkinter.tix.DirSelectBox The DirSelectBox is similar to the standard Motif(TM) directory-selection box. It is generally used for the user to choose a directory. DirSelectBox stores the directories mostly recently selected into a ComboBox widget so that they can be quickly selected again.