Re: Unable to write % character to a file using writelines() method

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christian Heimes

    Re: Unable to write % character to a file using writelines() method

    dudeja.rajat@gm ail.com wrote:
    Hi,
    >
    >
    I'm using the writelines() method to write some lines to a text file. But
    I'm unable to write the % character to the file using the following format:
    >
    fdTolFile.write lines("\n\tdiff Not in %s '%' range" %(toleranceInPe r))
    Try %% :)

    Christian

Working...