Python is a very popular programming language which is very useful, powerful, interesting and easy to learn.
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 and book Begining Python from Novice to Professional 3rd Edition. It also includes some other useful points about python3.
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
forpython3
)conda install 'package ame'
(if you have installedAnaconda
)
- 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 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.
Online versions are available, just click the [Online
] link to run the demo.
-
Basic Python3
- 00 Basic Py3 [Online]
- 01 String [Online]
- 02 List & Tuple [Online]
- 03 Dict & Set [Online]
- 04 Conditionals [Online]
- 05 Basic Looping [Online]
- 06 Character Encoding [Online]
- 07 Formatted Output [Online]
-
Function
-
Object Oriented Programming-OOP
-
Exception Handling
-
Multi Threading&Processing
- 00 Multi_Threading [Online]
- 01 Multi_Processing [Online]
-
Built-in Modules
-
Useful Tools
To be continue ...- Numpy
- Scipy
- Matplotlib
- Pandas
- Cython