Python: Find the available built-in modules. import sys, import textwrap.Python program for beginners.
PYTHON CODE
import sys
import textwrap
module_name = ', '.join(sorted(sys.builtin_module_names))
print(textwrap.fill(module_name, width=70))
Sample Output:
_ast, _bisect, _codecs, _collections, _datetime, _elementtree,
_functools, _heapq, _imp, _io, _locale, _md5, _operator, _pickle,
_posixsubprocess, _random, _sha1, _sha256, _sha512, _signal, _socket,
_sre, _stat, _string, _struct, _symtable, _thread, _tracemalloc,
_warnings, _weakref, array, atexit, binascii, builtins, errno,
faulthandler, fcntl, gc, grp, itertools, marshal, math, posix, pwd,
pyexpat, select, spwd, sys, syslog, time, unicodedata, xxsubtype,
zipimport, zlib
––––––––––––––––––––––––––––––
Lonely Road by From Ashes / fromashesedm
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/lonely-road-from-ashes
Music promoted by Audio Library • Lonely Road – From Ashes (No Copyrigh...
––––––––––––––––––––––––––––––