Detect python-2.5 before importing incompatible stuff
[iotop.git] / iotop.py
blobba0580dba861e2dd13f4a9afcacdecb0613338c4
1 #!/usr/bin/python
2 # iotop: Display I/O usage of processes in a top like UI
3 # Copyright (c) 2007, 2008 Guillaume Chazarain <guichaz@gmail.com>, GPLv2
4 # See iotop --help for some help
6 import sys
8 from iotop.ui import main
10 try:
11 main()
12 except KeyboardInterrupt:
13 pass
14 sys.exit(0)