标签: python
如何将列表转换为字符串,以后又转换回列表类型?
ids = [64L, 65L] ids_string = str(ids) # I need save this in `models.CharField` print list(ids_string) # not working -> ['[', '6', '4', 'L', ',', ' ', '6', '5', 'L', ']']