유니 코드 문자열 목록을 결합하려고합니다. 난 합계뿐만 아니라 조인을 사용하여 모두 시도했다. 불운.이 유니 코드 문자열 목록을 결합하려고 시도했습니다.
어떻게하면됩니까? 난 그냥 이러한 모든 문자열의 일반 텍스트 출력을 하나의 큰 문자열로 원합니다.
[u'\nPanera Bread (NASDAQ: <a class="ticker" href="/stock/pnra#NASDAQ">PNRA</a>) is down 6 percent today over expectations of food inflation of 4.5% in Q3 and 5% for Q4. In addition, Panera Will Raise Menu Prices in Q4.',
u'\nPNRA recently posted second quarter 2011 earnings of $1.18 per share. Reported earnings also outpaced the prior-year quarter earnings of 85 cents per share. ',
u"\nBut shares were also lower ahead of the opening bell after the company reported weaker-than-expected same-store sales figures for its recent quarter late Tuesday. Its profit of $1.18 a share topped analysts' consensus call by a penny.",
u'\nFor the twenty-six weeks ended June 28, 2011, net income was $68 million, or $2.27 per diluted share. These results compare to net income of $53 million, or $1.67 per diluted share, for the twenty-six weeks ended June 29, 2010, and represent a 36% year-over-year increase in diluted earnings per share.\n']
대체 할 수 있습니까? – JBernardo
'' '.join (my_list)'도 나를 위해 일하지만 네, 올바른 방법은'u' 'join (my_list)'이어야한다고 생각합니다. – redShadow
Andrew에게 어떤 오류가 있습니까? – BrainStorm