Package mosp_tools :: Module slowcat
[hide private]
[frames] | no frames]

Module slowcat

source code

Read a file's content slowly line by line.

If we write monitor output to file for later piping into a player, we have to slow down reading and piping to not overload the player. Regarding the playerChamplain this is a job for dave capella's slowcat.


Author: dave w capella - http://grox.net/mailme

Date: Sun Feb 10 21:57:42 PST 2008

Copyright: (c) 2002-2008 - dave w capella - All Rights Reserved

License: distributed under the terms of the GNU Public License, includes NO WARRANTY and NO SUPPORT.

Variables [hide private]
  __author__ = 'dave w capella - http://grox.net/mailme'
  arg = sys.argv [1]
  delay = 0.02
  __package__ = 'mosp_tools'