[Tutor] Python for Sysadmins
William O'Higgins Witteman
hmm at woolgathering.cx
Tue Feb 13 17:32:31 CET 2007
On Tue, Feb 13, 2007 at 04:38:47PM +0100, Christopher Arndt wrote:
>Steve Nelson schrieb:
>> I'd like some suggestions for a course outline - bear in mind I'll
>> only have a day for the course. The attendees are all sysadmins with
>> a UNIX background, and are reasonably comfortable with shell, but
>> nothing else.
>Must topics (apart from the basic Python stuff):
>- functions in the os and os.path module
>- the subprocess module
>- recipe for option parsing with optparse
>- recipe for basic logging with the logging module
>- file globbing with glob
>- walking a directory hierarchy with os.walk
>- the re module
>- the urllib module
>- Python modules and packages
>- distutils and easy_install (if they have to install third-party packages)
>Since you only have a day this can be only very basic introductions resp. recipes.
These are good suggestions; two more are python.org and the tutor list!
If they get stuck they can fall back on the community - the strength of
a language isn't syntax or structure or ease of use, but the core
documentation and community around it.
More information about the Tutor