Skip to Content
Perl To Python Migration
book

Perl To Python Migration

by Martin C. Brown
November 2001
Beginner
320 pages
5h 53m
English
Pearson Business
Content preview from Perl To Python Migration

WORKING WITH THE OPERATING SYSTEM

Interacting with the operating system includes everything from determining the environment in which the interpreter and your script are running, the user and process environment and also controlling and communicating with external aspects such as files and filesystems.

In Perl many of these facilities are handled either through a built-in variable, for example %ENV or $>, or using one of the built-in functions such as chdir(). The rest of this functionality is augmented through certain external modules. For example the Cwd modules supply the interface to the getcwd() system call.

In Python most of this functionality is handled by the os module although some other modules provide generic interfaces to other systems. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Perl in a Nutshell

Perl in a Nutshell

Nathan Patwardhan, Ellen Siever, Stephen Spainhour
Perl by Example

Perl by Example

Ellie Quigley
Perl Hacks

Perl Hacks

Chromatic, Damian Conway, Curtis Ovid Poe, Curtis (Ovid) Poe

Publisher Resources

ISBN: 0201734885Purchase book