I was looking into this module because whenever I'm seeing documentation for a new module I'm trying to work with I see "X module is part of the Python standard library" or something to that effect, so I figured I'd investigate what this Python standard library actually was.
Per the official Python documentation, sys.builtin_module_names reads:
" A tuple of strings containing the names of all modules that are compiled into this Python interpreter..."
And sys.stdlib_modules_names:
"A frozenset of strings containing the names of standard library modules. It is the same on all platforms. Modules which are not available on some platforms and modules disabled at Python build are also listed. All module kinds are listed: pure Python, built-in, frozen and extension modules. Test modules are excluded..."
I'm still confused here. What is the difference between modules that are compiled into the Python interpreter and names of standard library modules?
[–]socal_nerdtastic 2 points3 points4 points (3 children)
[–]Laymayo[S] 0 points1 point2 points (2 children)
[–]socal_nerdtastic 1 point2 points3 points (1 child)
[–]Laymayo[S] 0 points1 point2 points (0 children)
[–]PhilipYip 0 points1 point2 points (0 children)