ACCU logo

System Administration

with the

Python Standard Library


John Pinner

www.linuxemporium.co.uk

Where I'm Coming from

Where I am Now

Why do I want to Change?


(my scripting habits)

Why do I want to Change?

Why Should I Change?

How did we make PayThyme multi-platform?

Enter the Python Standard Library

os Module

os Module

Process Handling

threading module Summary

Making PayThyme cross-platform

Conclusion

Prize - portability across platforms

How to force the issue?

Making the Change

First: Walking a file system

Second: find

Second: find - how?

Third: Editing Files

Fourth: Making the Changes

Fourth: Taking a backup

Fifth: Making the Changes

Sixth: Make it more Useful

Python argparse module

some argparse features

some argparse features

Sixth: Make it more Useful

Maintainability and Reliability

The End