#NEWLINE# def write_paths( self , fileobject ) : #NEWLINE# #INDENT# realfile = 0 #NEWLINE# if ( type ( fileobject ) is str ) : #NEWLINE# #INDENT# fileobject = open ( fileobject , 'w' ) #NEWLINE# realfile = 1 #NEWLINE# #UNINDENT# self . _write_text ( fileobject , self . root ) #NEWLINE# if realfile : #NEWLINE# #INDENT# fileobject . close ( )