Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/huixxi/fast-py3

Life is too short, you need python.:snake:
https://github.com/huixxi/fast-py3

ipynb python-tutorial python3

Last synced: about 1 month ago
JSON representation

Life is too short, you need python.:snake:

Awesome Lists containing this project

README

        

![](https://github.com/Huixxi/Fast-Py3/blob/master/images/a.jpg)
# A Fast Python3 Tutorial For Beginners.
Python is a very popular programming language which is very useful, powerful, interesting and easy to learn.

## Introduction.
This is a basic tutorial of python3 for beginners. From **Basic Datatypes** to **Object Oriented Programming(OOP)**.
It is mainly based on [Liao Xuefeng's Python3 Tutorial][1] and book [Begining Python from Novice to Professional 3rd Edition][2]. It also includes some other useful points about python3.  

## Installation
Go python official website: https://www.python.org/ to download and install.(If you are using Linux(ubuntu/redhat...) or Mac, there is no need to do so, because python is a build-in software on these platforms.)
**Installation of third-party modules:**
* `pip(pip3) install 'package name'` (`pip3` for `python3`)
* `conda install 'package ame'` (if you have installed `Anaconda`)

## Python IDE Recommend
* [PyCharm](https://www.jetbrains.com/pycharm/) is highly recommended. It is free(the community version), cross-platform(PC, Mac, Linux), concise and efficient, which is suited to large project development.
* [Jupyter Notebook](https://jupyter.org/) is also highly recommended. It is fast, flexible, lightweight, interactive and efficient, which is suited to small script coding and testing. You will fall in love with it immediately. [How to setup jupyter notebook.][3]

## Useful Websites
* [Time Complexity Fast Check.](https://wiki.python.org/moin/TimeComplexity)
* [A Guide To Use `super()`](https://rhettinger.wordpress.com/2011/05/26/super-considered-super/)

## Tutorial Catalogue
Online versions are available, just click the [`Online`] link to run the demo.
+ **Basic Python3**
* 00 [Basic Py3][10] **[**[Online][100]**]**
* 01 [String][11] **[**[Online][101]**]**
* 02 [List & Tuple][12] **[**[Online][102]**]**
* 03 [Dict & Set][13] **[**[Online][103]**]**
* 04 [Conditionals][14] **[**[Online][104]**]**
* 05 [Basic Looping][15] **[**[Online][105]**]**
* 06 [Character Encoding][16] **[**[Online][106]**]**
* 07 [Formatted Output][17] **[**[Online][107]**]**

+ **Function**
* 00 [Def Function & Parameters][20] **[**[Online][200]**]**
* 01 [Functional Programming:`map`/`reduce`/`zip`/`filter`/`sorted`/`lambda`][21] **[**[Online][201]**]**
* 02 [Decorator][22] **[**[Online][202]**]**
* 03 [Generator][23] **[**[Online][203]**]**
* 04 [Pythonic Way: iterator][24] **[**[Online][204]**]**
* 05 [File IO][25] **[**[Online][205]**]**

+ **Object Oriented Programming-OOP**
* 00 [Object_Oriented_Programming(OOP):`Class`/`Inherit`/`Polymorphism`][30] **[**[Online][300]**]**
* 01 [Magic Method & High Level OOP][31] **[**[Online][301]**]**

+ **Exception Handling**
* 00 [Exception Handling-A: `try...except...finally...`][40] **[**[Online][400]**]**
* 01 [Exception Handling-B][41] **[**[Online][401]**]**
* 02 [A_Logger_Demo][42] **[**[Online][402]**]**

+ **Multi Threading&Processing**
* 00 [Multi_Threading][50] **[**[Online][500]**]**
* 01 [Multi_Processing][51] **[**[Online][501]**]**

+ **Built-in Modules**
* 00 [Re: Regular_Expression][61] **[**[Online][600]**]**
* 01 [Common Modules: `datatime`/`collections`/`hashlib`][62] **[**[Online][601]**]**

+ **Useful Tools**
To be continue ...
* Numpy
* Scipy
* Matplotlib
* Pandas
* Cython

Flag Counter

[1]: https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000
[2]: https://www.oreilly.com/library/view/beginning-python-from/9781484200285/
[3]: https://www.cycygogo.cn/2017/06/09/Linux%E6%9C%8D%E5%8A%A1%E5%99%A8%E4%B8%8A%E6%90%AD%E5%BB%BATensorFlow%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0%E7%8E%AF%E5%A2%83/

[10]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/00_Basic_Py3.ipynb
[11]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/01_String.ipynb
[12]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/02_List_Tuple.ipynb
[13]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/03_Dict_Set.ipynb
[14]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/04_Conditionals.ipynb
[15]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/05_Looping.ipynb
[16]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/06_Character_Encoding.ipynb
[17]: https://github.com/Huixxi/Fast-Py3/blob/master/00%20Basic%20Python3/07_Print_Methods.ipynb

[20]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/00_Def_Function.ipynb
[21]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/01_Function_Tools.ipynb
[22]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/02_Decorator.ipynb
[23]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/03_Generator.ipynb
[24]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/04_Pythonic_Way.ipynb
[25]: https://github.com/Huixxi/Fast-Py3/blob/master/01%20Function/05_FILE_IO.ipynb

[30]: https://github.com/Huixxi/Fast-Py3/blob/master/02%20Object%20Oriented%20Programming-OOP/00_Object_Oriented_Programming(OOP).ipynb
[31]: https://github.com/Huixxi/Fast-Py3/blob/master/02%20Object%20Oriented%20Programming-OOP/01_Object_Oriented_Programming(OOP)High_Level.ipynb

[40]: https://github.com/Huixxi/Fast-Py3/blob/master/03%20Exception%20Handling/00_Exception_Handling_A.ipynb
[41]: https://github.com/Huixxi/Fast-Py3/blob/master/03%20Exception%20Handling/01_Exception_Handling_B.ipynb
[42]: https://github.com/Huixxi/Fast-Py3/blob/master/03%20Exception%20Handling/02_A_Logger_Demo.ipynb

[50]: https://github.com/Huixxi/Fast-Py3/blob/master/04%20Multi%20Threading_Processing/00_Multi_Threading.ipynb
[51]: https://github.com/Huixxi/Fast-Py3/blob/master/04%20Multi%20Threading_Processing/01_Multi_Processing.ipynb

[61]: https://github.com/Huixxi/Fast-Py3/blob/master/05%20Built-in%20Modules/00_Regular_Expression.ipynb
[62]: https://github.com/Huixxi/Fast-Py3/blob/master/05%20Built-in%20Modules/01_Common_Modules.ipynb

[100]: https://colab.research.google.com/drive/1MCXL3TyFveA7ByTnZ2lvisQhxvlkBJbx
[101]: https://colab.research.google.com/drive/1YrxK5Mm1OaiwlO5UdZvu-ZO-GBu898Oz
[102]: https://colab.research.google.com/drive/1U_x_--uB0Mp3ZL9zsND3garaPeOip13N
[103]: https://colab.research.google.com/drive/1-53UYLXoMdwjs5Wob_NYIZb2SWm7R6bV
[104]: https://colab.research.google.com/drive/1xQ_SvnaOoXU21ttERp5P-QWgE0_Td9Ee
[105]: https://colab.research.google.com/drive/1o69TicBWP9mL9T-W6yDXo07yi3Axy7vU
[106]: https://colab.research.google.com/drive/1iLD23S2iYaACKBIoeS7Xbigi_NsGLY6R
[107]: https://colab.research.google.com/drive/1itxOHfzc5E5B3Wrnj9e5EfsvxUNlw_Oi

[200]: https://colab.research.google.com/drive/17n80tonpWMo8L4nV3NwWUFjh60IVuI-P
[201]: https://colab.research.google.com/drive/1sT9NakRuhI1Jw1Rv_fR221aZ1TenavDA
[202]: https://colab.research.google.com/drive/1Rok7oCS1wws3KT7277m4l0nEl7nCnJSH
[203]: https://colab.research.google.com/drive/1QWC-BG3QRZbTjh0MFHcJbLQ2hm1XLOGR
[204]: https://colab.research.google.com/drive/17QAfi0SLWWsuEBbOvqf2myBXcj7gnD_u
[205]: https://colab.research.google.com/drive/1pOEFqMI9jStiy902gdyvZ1WwTg_lXGSp

[300]: https://colab.research.google.com/drive/1HYz9HSKUVvE0FcAEZZRC8QGCmcjvgzdf
[301]: https://colab.research.google.com/drive/1gdlpOwbonFB3y7I9gbxEOHyCUoytdJTp

[400]: https://colab.research.google.com/drive/1YayLzNLjf-kM7469oLkwQnC3-AzTTBvN
[401]: https://colab.research.google.com/drive/1INHD2l1useJmntFtcfxy4EyNsNwAvlvh
[402]: https://colab.research.google.com/drive/18Cx-h5DNulsuVesi8fTuqpdfbZBe3U06

[500]: https://colab.research.google.com/drive/1N7AT3aWvWxMZMOU00HsvhgtRUTYYUsOT
[501]: https://colab.research.google.com/drive/17VOiuMyqnhvo-ZSJpEnWZu0rECsh08tz

[600]: https://colab.research.google.com/drive/10rUr5OA4Fp9q6bESOKJOPwxChMcls6gs
[601]: https://colab.research.google.com/drive/1lRwfZy2cIlcYDBZXvLBOHM26q6zaYMLN