Operating System (os) Module

The os module allows you to get information about the operating system and current user.

  • os.platform() – Returns the OS platform
  • os.cpus() – Returns info about CPUs
  • os.freemem() – Returns free memory in bytes
← PrevNext →