Skip to content

Instantly share code, notes, and snippets.

@MrDMurray
Created September 17, 2016 12:30
Show Gist options
  • Save MrDMurray/837b26082450f7bae76ac926d443c429 to your computer and use it in GitHub Desktop.
Save MrDMurray/837b26082450f7bae76ac926d443c429 to your computer and use it in GitHub Desktop.
List-all-functions.py
#Prints all functions available to the user in a module. Great way to find out all the useful functions that a module (in this case time) can let you access. Try substituting "time" with other modules like "math".
import time
everything =dir(time)
print(everything)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment