Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tonnyl/mypythonlearnproject

My Project of Learning Python
https://github.com/tonnyl/mypythonlearnproject

Last synced: 5 days ago
JSON representation

My Project of Learning Python

Awesome Lists containing this project

README

        

我的python学习计划,其中包括源码、注释以及我在这个过程中遇到的问题和一些想法

环境为Win10+Python2.7+PyCharm Community Edition 2016.2

参考的是 [廖雪峰的python2.7教程](http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000)

* **第一个Python程序**

[Hello World](https://github.com/marktony/MyPythonLearnProject/blob/master/hello.py)
* **Python基础**

1.[数据类型和变量](https://github.com/marktony/MyPythonLearnProject/blob/master/base.py)

2.[字符串和编码](https://github.com/marktony/MyPythonLearnProject/blob/master/string_and_encoding.py)

3.[list和tuple](https://github.com/marktony/MyPythonLearnProject/blob/master/list_and_tuple.py)

4.[条件判断和循环](https://github.com/marktony/MyPythonLearnProject/blob/master/condition_and_loop.py)

5.[使用dict和set](https://github.com/marktony/MyPythonLearnProject/blob/master/dict_and_set.py)

* **函数**

1.[调用函数](https://github.com/marktony/MyPythonLearnProject/blob/master/use_function.py)

2.[定义函数](https://github.com/marktony/MyPythonLearnProject/blob/master/define_function.py)

3.[函数的参数](https://github.com/marktony/MyPythonLearnProject/blob/master/argument_of_func.py)

4.[递归函数](https://github.com/marktony/MyPythonLearnProject/blob/master/recurrence_func.py)

* **高级特征**

1.[切片](https://github.com/marktony/MyPythonLearnProject/blob/master/slice.py)

2.[迭代](https://github.com/marktony/MyPythonLearnProject/blob/master/iteration.py)

3.[列表生成式](https://github.com/marktony/MyPythonLearnProject/blob/master/list_comprehension.py)

4.[生成器](https://github.com/marktony/MyPythonLearnProject/blob/master/generator.py)

* **函数式编程**

1.[高阶函数](https://github.com/marktony/MyPythonLearnProject/blob/master/higher_order_function.py)

2.[返回函数](https://github.com/marktony/MyPythonLearnProject/blob/master/return_func.py)

3.[匿名函数](https://github.com/marktony/MyPythonLearnProject/blob/master/anonymous_func.py)

4.[装饰器](https://github.com/marktony/MyPythonLearnProject/blob/master/decorator.py)

* **模块**

1.[使用模块](https://github.com/marktony/MyPythonLearnProject/blob/master/use_module.py)

2.[安装第三方模块](https://github.com/marktony/MyPythonLearnProject/blob/master/install_module.py)

3.[使用__future__](https://github.com/marktony/MyPythonLearnProject/blob/master/use_future.py)

* **面向对象编程**

1.[类和实例](https://github.com/marktony/MyPythonLearnProject/blob/master/class_and_instance.py)

2.[访问限制](https://github.com/marktony/MyPythonLearnProject/blob/master/limited_access.py)

3.[继承和多态](https://github.com/marktony/MyPythonLearnProject/blob/master/inheritance_and_polymorphism.py)

4.[获取对象信息](https://github.com/marktony/MyPythonLearnProject/blob/master/get_info_of_obj.py)

* **面向对象高级编程**

1.[使用__slots__](https://github.com/marktony/MyPythonLearnProject/blob/master/use_slots.py)

2.[使用@property](https://github.com/marktony/MyPythonLearnProject/blob/master/[email protected])

3.[多重继承](https://github.com/marktony/MyPythonLearnProject/blob/master/multiple_inheritance.py)

4.[定制类](https://github.com/marktony/MyPythonLearnProject/blob/master/customized_class.py)

* **错误、调试和测试**

1.[错误处理](https://github.com/marktony/MyPythonLearnProject/blob/master/handle_error.py)

2.[调试](https://github.com/marktony/MyPythonLearnProject/blob/master/debug.py)