Chapter 9. INTERFACING WITH THE OPERATING SYSTEM

There are two main aspects to talking with the operating system from within any language. The first is the basic interface between Python and the host – the environment and other system-specific information about the machine on which the Python interpreter is executing. The second aspect is the operating system itself and how to get information about and to/from the operating system.

In this chapter we're going to be taking a look at the Python equivalents of many of the system and operating system specific elements of Perl and the Python modules that support these operations.

Get Perl To Python Migration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.