Home  >  Q&A  >  body text

python - Problem about saving the return information of paramiko's stdout.read() to txt

self.rz.setText(str(stdout.read()))
The return text of this sentence is as shown in the figure:

There is n in the return information 'This kind of newline character is displayed in the text box. How should it be automatically processed into a newline character and written into txt? Now there is a problem with line wrapping. . .

为情所困为情所困2705 days ago792

reply all(1)I'll reply

  • 怪我咯

    怪我咯2017-05-24 11:36:54

    I need more detailed screenshots

    12:06:

    reply
    0
  • Cancelreply