Is there a way to get a full name (dot separated path of a function including its name) of a standard library function? For example:
import sys
import os
from random import choice
my_function = choice([sys.exit, os.path.join, os.getcwd])
print(my_function) # Somehow generate full name of the built-in function
# Would expect to get one of 'sys.exit', 'os.path.join' or 'os.getcwd'