Package atmopy :: Package talos :: Module miscellaneous :: Class PrintInPlace
[show private | hide private]
[frames | no frames]

Class PrintInPlace


PrintInPlace enables to write and overwrite data on screen.
Method Summary
  __init__(self, length)
  __call__(self, elt)
Prints a string on screen.
  Clear(self, elt)
Reinits the instance: no character is removed next time something is printed on screen, and the characters that were supposed to be overwritten are cleared.
  Print(self, elt)
Prints a string on screen.
  Reinit(self)
Reinits the instance: no character is removed next time something is printed on screen.

Method Details

__init__(self, length=0)
(Constructor)

Parameters:
length - Number of characters to be overwritten next time something is printed on screen.
           (type=integer)

__call__(self, elt)
(Call operator)

Prints a string on screen.
Parameters:
elt - String to be printed on screen.
           (type=string)

Clear(self, elt='')

Reinits the instance: no character is removed next time something is printed on screen, and the characters that were supposed to be overwritten are cleared. A last string may be printed.
Parameters:
elt - The last string to be printed.
           (type=string)

Print(self, elt)

Prints a string on screen.
Parameters:
elt - String to be printed on screen.
           (type=string)

Reinit(self)

Reinits the instance: no character is removed next time something is printed on screen.

Generated by Epydoc 2.1 on Tue May 19 10:37:13 2009 http://epydoc.sf.net