Python | os.supports_bytes_environ object
OS module in Python provides functions for interacting with the operating system. OS comes under Python’s standard utility modules. This module provides a portable way of using operating system dependent functionality.
os.supports_bytes_environ in Python checks whether native OS type of the environment is bytes or not. For example, Windows do not has bytes as their native OS type of the environment. So its value will be False on Windows.
Parameter: It is a non-callable object. Hence, no parameter is required.
Return Type: This object returns a bool value True of False on the basis of whether native OS type of the environment is bytes or not.