#NEWLINE# def get_args( self , filename = None ) : #NEWLINE# #INDENT# if ( ( not PY3K ) and ( os . name == 'nt' ) ) : #NEWLINE# #INDENT# encoding = locale . getpreferredencoding ( ) #NEWLINE# args = [ ( arg if isinstance ( arg , str ) else arg . encode ( encoding ) ) for arg in self . args ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# args = self . args #NEWLINE# #UNINDENT# return [ arg . format ( filename = filename ) for arg in args ]