python 列表转换成字符串
2015-06-04 15:13
288 查看
python中的列表list = ['1','2','3','4']转成str型'1,2,3,4'
','.join(list)
','.join(list)
相关文章推荐
- python 中内存对数据的应用
- python实现了字符串的按位异或和php中的strpad函数
- python中管道用法入门实例
- Python实现处理管道的方法
- python定时器(Timer)用法简单实例
- python提示编码错误
- python避免死锁方法实例分析
- python中字符串前面加r的作用
- python生成器generator用法实例分析
- python函数装饰器用法实例详解
- BFPRT算法Python实现
- Python中函数的参数定义和可变参数用法实例分析
- python 多级字典值合并
- Python批量将word转html,并将html内容发布至网站。
- Python批量将word转html,并将html内容发布至网站。
- python re-raise exception
- Python基础:14生成器
- python类装饰器用法实例
- Python内置UserDict类、实现子类调用父类的方法
- python获得一个月有多少天的方法