tagui.py
def _tagui_output():
    """function to wait for tagui output file to read and delete it"""
    global _tagui_delay
    # sleep to not splurge cpu cycles in while loop
    while not os.path.isfile('tagui_python.txt'):
        time.sleep(_tagui_delay) 

    tagui_output_file = _py23_open('tagui_python.txt', 'r')
    tagui_output_text = _py23_read(tagui_output_file.read())
    tagui_output_file.close()
    os.remove('tagui_python.txt')
    return tagui_output_text
function to wait for tagui output file to read and delete it
function to wait for tagui output file to read and delete it
function to wait for tagui output file to read and delete it
def _tagui_output():
    global _tagui_delay
    while not os.path.isfile('tagui_python.txt'):
        time.sleep(_tagui_delay) 
    tagui_output_file = _py23_open('tagui_python.txt', 'r')
    tagui_output_text = _py23_read(tagui_output_file.read())
    tagui_output_file.close()
    os.remove('tagui_python.txt')
    return tagui_output_text
def _tagui_output ( ) : global _tagui_delay while not os . path . isfile ( 'tagui_python.txt' ) : time . sleep ( _tagui_delay ) tagui_output_file = _py23_open ( 'tagui_python.txt' , 'r' ) tagui_output_text = _py23_read ( tagui_output_file . read ( ) ) tagui_output_file . close ( ) os . remove ( 'tagui_python.txt' ) return tagui_output_text
function to wait for tagui output file to read and delete it
function to wait for tagui output file to read and delete it
"""function to wait for tagui output file to read and delete it""" # sleep to not splurge cpu cycles in while loop