Python for Linux at OLF

I’m in the final (but not as final as I would like) stages of preparing for my day-long tutorial at Ohio LinuxFest. OLF, as we call it, is a great event, with some good keynotes, interesting talks, and even maddog. Not to mention first rate tutorials, such as, oh… “Python for Linux System Administration”.

The morning session I’ll spend on basics – writing scripts that illustrate control flow, lists, dictionaries, strings, etc. from the point of view some basic sysadmin scenarios. I’ll also introduce the basics of the subprocess module to call other Linux tools.

Then in the afternoon session, we’ll look at some more involved tasks, like traversing files systems, regular expresssions, daemons, using the network, etc.

I’m looking forward to it – I think it will be a blast.

So if anyone has any cool intersections between Python and Linux sysadmin you wouldn’t mind me stealing, or any other suggestions or words of wisdom, by all means let me know.

4 Responses to Python for Linux at OLF

  1. Will Maier says:

    Oh, neat — I hope you post slides somewhere for those of us who can’t make it. Our group does lots of system programming with Python; in fact, we ended up writing a little package to make writing sysadmin scripts easier. Take a look at the docs and code — feel free to steal it for your session if you find it’s relevant. 😉

    http://packages.python.org/pyCLI
    http://github.com/wcmaier/cli

    Hopefully, I’ll be able to make it down to OLF (from Wisconsin) one of these days…

    • Vern Ceder says:

      Thanks, Will. I’ll definitely mention cli and I may borrow a thing or two as well. And definitely try to make it down when you can – OLF is really a fun time!

  2. Robert Foreman says:

    Thanks again Vern for the wonderful class! Have a safe trip back.

Leave a reply to Vern Ceder Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.