skip to navigation skip to content
Instructor-led course

Provided by: University Information Services


This course is not scheduled to run.


[ Show past events ]



Register interest
Register your interest - if you would be interested in additional dates being scheduled.


Events available

Python: Operating System Access
Prerequisites


Description

This course is part of the Scientific Computing series.

This course will introduce methods in Python for accessing the operating system environment (e.g. standard input, standard output, environment variables, etc). The course will cover topics such as command-line parsing in more detail than the "Python Introduction for Absolute Beginners" or "Python Introduction for Programmers".

Prerequisites
  • Prior attendance at either the "Python Introduction for Absolute Beginners" or "Python Introduction for Programmers" courses or equivalent experience.
  • Those attending should be able to use a plain text editor (e.g. emacs, gedit, pico, vi) on a Unix system as might be obtained from the Emacs or Vi introductory courses.
Topics covered
  • Obtaining data from the keyboard/standard input
  • Parsing the command-line
  • Accessing environment variables
Format

Presentation/demonstration with practicals.

System requirements

Python v. 3 on PWF Linux

Notes
  • This course is unsuitable for those who have no experience of Python.
  • As this course is part of the Scientific Computing series, the examples chosen are of most relevance to scientific programming.
  • Those attending this course may also be interested in the "Python Further Topics" course.
Duration

One half day session

Themes

Events available

Override user: