+ 1
How to view all functions inside that particular module?
2 Réponses
+ 1
I mean to ask, Is there any function through with I can view the functions list in a specific module?
+ 1
Guys I got answer to this question.
we can view the list of functions of imported module within python itself.
import re
for i in direct('re'):
print(i)
now I imported regex module 're'
using dir() function I can view all the functions within a module that passed as argument.
To make the functions readable I used for loop and printed them out one by one.
hope this info would be useful for everyone who need to do research on all functions within imported module.