1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
| md=["glob" , "sched" , "graphlib" , "secrets" , "gzip" , "select" , "hashlib" , "selectors" , "heapq" , "setuptools" , "hmac" , "shelve" , "html" , "shlex" , "http" , "shutil" , "idlelib" , "signal" , "abc" , "imaplib" , "site" , "aifc" , "imghdr" , "smtpd" , "antigravity" , "imp" , "smtplib" , "argparse" , "importlib" , "sndhdr" , "array" , "inspect" , "socket" , "ast" , "io" , "socketserver" , "asynchat" , "ipaddress" , "sqlite3" , "asyncio" , "itertools" , "asyncore" , "json" , "atexit" , "keyword" , "audioop" , "lib2to3" , "ssl" , "base64" , "linecache" , "stat" , "bdb" , "locale" , "statistics" , "binascii" , "logging" , "string" , "binhex" , "lzma" , "stringprep" , "bisect" , "mailbox" , "struct" , "builtins" , "mailcap" , "subprocess" , "bz2" , "main" , "sunau" , "cProfile" , "marshal" , "symbol" , "calendar" , "math" , "symtable" , "cgi" , "mimetypes" , "sys" , "cgitb" , "mmap" , "sysconfig" , "chunk" , "modulefinder" , "tabnanny" , "cmath" , "msilib" , "tarfile" , "cmd" , "msvcrt" , "telnetlib" , "code" , "multiprocessing" , "tempfile" , "codecs" , "netrc" , "test" , "codeop" , "nntplib" , "textwrap" , "collections" , "nt" , "this" , "colorsys" , "ntpath" , "threading" , "compileall" , "nturl2path" , "time" , "concurrent" , "numbers" , "timeit" , "configparser" , "opcode" , "tkinter" , "contextlib" , "operator" , "token" , "contextvars" , "optparse" , "tokenize" , "copy" , "os" , "trace" , "copyreg" , "parser" , "traceback" , "crypt" , "pathlib" , "tracemalloc" , "csv" , "pdb" , "tty" , "ctypes" , "pickle" , "turtle" , "curses" , "pickletools" , "turtledemo" , "dataclasses" , "pip" , "types" , "datetime" , "pipes" , "typing" , "dbm" , "unicodedata" , "decimal" , "pkgutil" , "unittest" , "difflib" , "platform" , "urllib" , "dis" , "plistlib" , "uu" , "distutils" , "poplib" , "uuid" , "doctest" , "posixpath" , "venv" , "pprint" , "warnings" , "email" , "profile" , "wave" , "encodings" , "pstats" , "weakref" , "ensurepip" , "pty" , "webbrowser" , "enum" , "winreg" , "errno" , "pyclbr" , "winsound" , "faulthandler" , "pydoc" , "wsgiref" , "filecmp" , "xdrlib" , "fileinput" , "pyexpat" , "xml" , "fnmatch" , "pyunit1" , "xmlrpc" , "formatter" , "pyunit2" , "xxsubtype" , "fractions" , "pyunit3" , "zipapp" , "ftplib" , "queue" , "zipfile" , "functools" , "quopri" , "zipimport" , "gc" , "random" , "zlib" , "genericpath" , "re" , "zoneinfo" , "getopt" , "reprlib" , "getpass" , "rlcompleter" , "gettext" , "runpy" ]
def is_public(name):
return not (name.startswith('__') and name.endswith('__'))
def get_functions(source):
return [name for name in dir(source) if callable(getattr(source, name)) and is_public(name)]
def getf(m):
a=get_functions(m)
for i in a:
s=m+'.'+i
print(s)
b=get_functions(s)
for i1 in b:
ss=m+'.'+i+'.'+i1
print(ss)
# c=get_functions(ss)
# for i2 in c:
# sss=m+'.'+i+'.'+i1+'.'+i2
# print(sss)
for i in md:
getf(i) |