line_data = line.split(' ')
user_id = line_data[0]
tweets = line_data[1:-1]
sentiment = line_data[-1]
fileout.write(user_id + ',' + ' '.join(tweets) + ',' + sentiment + '\n')
sentiment analysis of Non-English tweets in python