Huawei Confidential
Foreword
Huawei Confidential
Objectives
Huawei Confidential
Huawei Confidential
Contents
1. What is Python?
What is Python
History of Python
2. Why Python?
3. How to use Python?
Huawei Confidential
Huawei Confidential
What is Python?
Python is a simple, open-source, multi-paradigm and object-oriented, scripting
programming language.
Python was created by Guido van Rossum in 1989, which is a successor to the ABC
programming language.
Huawei Confidential
History of Python
First public in 1991.
Python 2 released in 2000.
Python 3 released in 2008.
Note: Python 2 and Python 3 are not compatible to each
other. Python 2 has reached end of life on January 1st, 2020.
Huawei Confidential
Contents
1. What is Python?
2. Why Python?
Python Features
Python Application Fields
3. How to use Python?
Huawei Confidential
Huawei Confidential
Python Features
High-level But low performance compared
Simple syntax to C&C++
Third-party libraries
Multi-paradigm
functional
imperative
object-oriented
Structured
reflective
Huawei Confidential
Python vs C
Huawei Confidential
Python Application Fields
Artificial Intelligence Automation scripting
Machine Learning Saltstack
Ansible
Data Science
NumPy, Pandas, Matplotlib Web crawler
Scrapy
Software Programming
Functional and Object Oriented Programming Cloud computing
Openstack
Web developing
Django, Tornado, Flask
Huawei Confidential
Contents
1. What is Python?
2. Why Python?
3. How to use Python?
Python Installing
Common Developing IDE
Huawei Confidential
Huawei Confidential
Python Installing
Official Website: https://www.python.org/
Download the version you need from the Official Website for your local system.
Huawei Confidential
Python Installing
Anancoda Website: https://www.anaconda.com/
Install Python and its third-party libraries by Anaconda.
Huawei Confidential
Common IDEs
IDE stands for Integrated Development Environment, it can increase programmer
productivity by integrating common programming activities into a single software.
We can edit source code, run the program and debugging using an IDE.
Common Python IDEs:
PyCharm
Jupyter Notebook
VS Code
Spyder
Huawei Confidential
PyCharm
https://www.jetbrains.com/pycharm/
PyCharm is a dedicated Python IDE providing a wide range of essential tools
for Python developers, tightly integrated to create a convenient environment
for productive Python, web, and data science development.
Huawei Confidential
Jupyter Notebook
https://jupyter.org/
The Jupyter Notebook is an open-source web application that allows you to
create and share documents that contain live code, equations, visualizations
and narrative text. Uses include: data cleaning and transformation, numerical
simulation, statistical modeling, data visualization, machine learning, and
much more.
Huawei Confidential
Summary
This chapter introduces what Python is, why people like Python, how to use
Python and common Python IDEs.
Huawei Confidential
More Information
Online learning website
https://e.huawei.com/en/talent/#/home
Huawei Knowledge Base
https://support.huawei.com/enterprise/en/knowledge?lang=en
Huawei Confidential
把数字世界带入每个人、每个家庭、
每个组织,构建万物互联的智能世界。
Bring digital to every person, home, and
organization for a fully connected,
intelligent world.
Thank you. Copyright© 2020 Huawei Technologies Co., Ltd.
All Rights Reserved.
The information in this document may contain predictive
statements including, without limitation, statements regarding
the future financial and operating results, future product
portfolio, new technology, etc. There are a number of factors
that
could cause actual results and developments to differ materially
from those expressed or implied in the predictive statements.
Therefore, such information is provided for reference purpose
only and constitutes neither an offer nor an acceptance. Huawei
may change the information at any time without notice.
Huawei Confidential