如下所示:

data = [1,2,3,4]
print "|".join(str(i) for i in data)

如果data中有中文:

import sys
reload(sys)
sys.setdefaultencoding( "utf-8" )