Heya

This is silly but I cant break it.

I have text in textEdit

testa
testb
testc

I want it to look like this

testa;testb;testc;

I got as far as getting it all in 1 line but I cant figure out how to add ; :/

Qt Code:
  1. fromQT = self.qe.toPlainText()
  2. toPlain=str(fromQT)
  3. prefix = ''.join((';',toPlain))
  4. mystr = ''.join([line.strip() for line in prefix])
To copy to clipboard, switch view to plain text mode 

Thanks in advice.