Operating System Services

Python provides a wide variety of operating system interfaces

  • Basic system calls
  • Operating environment
  • Processes
  • Timers
  • Signal handling
  • Error reporting
  • Users and passwords

Implementation

  • A large portion of this functionality is contained in the os module.
  • The interface is based on POSIX.
  • Not all functions are available on all platforms (especially Windows/Mac).

Let's take a tour...

  • I'm not going to cover everything.
  • This is mostly a survey of what Python provides.
<<< O'Reilly OSCON 2000, Advanced Python Programming, Slide 51
July 17, 2000, beazley@cs.uchicago.edu
>>>