riptable.Utils.terminalsize

Functions

get_terminal_size()

getTerminalSize()

riptable.Utils.terminalsize.get_terminal_size()

getTerminalSize() - get width and height of console - works on linux,os x,windows,cygwin(windows) originally retrieved from: http://stackoverflow.com/questions/566746/how-to-get-console-window-width-in-python

Returns: (x,y) in screen size Returns: (None, None) on failure