python: turning textwrap into a list -
i have variable:
row='saint george 1739 1799 violin concerti g 029 039 050 symphonie concertante 2 violins g 024 bertrand cervera in 024 039 christophe guiot in 024 029 , thibault vieux violin soloists orchestre les archets de paris' i doing this:
textwrap.fill(row,55) i list line have line[0]='saint george 1739 1799 violin concerti g 029 039 050' , line[1]='symphonie concertante 2 violins g 024 bertrand' etc.....
please me conversion textwrap list
please note textwrap breaks things \n
use textwrap.wrap instead of textwrap.fill
Comments
Post a Comment