我有一個長的字符串是這樣的:如何從字符串中移除或翻譯多個字符串?
'[("He tended to be helpful, enthusiastic, and encouraging, even to studentsthat didn\'t have very much innate talent.\\n",), (\'Great instructor\\n\',), (\'He could always say something nice and was always helpful.\\n\',), (\'He knew what he was doing.\\n\',), (\'Likes art\\n\',), (\'He enjoys the classwork.\\n\',), (\'Good discussion of ideas\\n\',), (\'Open-minded\\n\',), (\'We learned stuff without having to take notes, we just applied it to what we were doing; made it an interesting and fun class.\\n\',), (\'Very kind, gave good insight on assignments\\n\',), (\' Really pushed me in what I can do; expanded how I thought about art, the materials used, and how it was visually.\\n\',)
,我要刪除所有[,(,」,\,\ n在此字符串一次不知爲什麼,我可以通過一個一個做,但始終。以「\ n」失敗了。有沒有什麼有效的辦法可以去除或由於我senectiecs不長,所以我不希望使用字典方法,如前面的問題把所有這些字符或空行符號? 。
可能[Python替換多個str的副本ings](http://stackoverflow.com/questions/6116978/python-replace-multiple-strings) – McGrady
你如何得到這樣的字符串? –