python工厂方式创建list
2015-08-10 16:44
453 查看
>>> l = list('sdfsdf') >>> l ['s', 'd', 'f', 's', 'd', 'f']
相关文章推荐
- Learning Python Day5
- Python中如何定义字符串
- IBM Python 技术专题
- IBM Python 技术专题
- python 当派生类找不到属性、方法时会怎么办
- 零基础学python-2.1 输出 print()
- 零基础学python-2.1 输出 print()
- python面向对象编程
- 编译安装python
- Python入门 条件判断和循环
- python装饰器
- Python中下划线的使用方法
- python参数中的 * 和 **
- [python] 类常用的内置方法
- 2013年最好的Python开源项目汇总
- 2013年最好的Python开源项目汇总
- Python基础知识
- Python实现短网址ShortUrl的Hash运算实例讲解
- 以正确的方式开源 Python 项目
- 以正确的方式开源 Python 项目