What information can be read using the uname function provided by the os module? (Select two answers)
- Current path
- Operating system name
- Last login date
- Hardware identifier
Explanation: The uname function returns an object that contains information about the current operating system. The object has the following attributes: systemname (stores the name of the operating system), nodename (stores the machine name on the network), release (stores the operating system release), version (stores the operating system version), and machine (stores the hardware identifier, e.g. x86_64.)
More Questions: Python Essentials 2 (PE2) Course Final Test
Please login or Register to submit your answer