PRINT(DIR(sys)) helps us to obtain a list of all the functions DEFINED under the sys module. The function can be used to obtain the list of functions under any GIVEN module in Python.