Python Example – Write a Python program to find the available built-in modules
(Python Example for Citizen Data Scientist & Business Analyst) Write a Python program to find the available built-in modules. Sample Solution 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, … Continue reading Python Example – Write a Python program to find the available built-in modules
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed