About Python 01-python

Source: Internet
Author: User

  • The founder of Python is Guido van Rossum (Guido van Rossum).
  • Python advocates beauty, clarity and simplicity, and is an excellent and widely used language.
  • Python is an interpreted language
current Python main application areas
  • Cloud computing : The hottest language in cloud computing, typically using OpenStack
  • Web Development : A number of excellent web frameworks, many large Web sites are developed for Python, a typical web framework has Django
  • Scientific Computing, artificial intelligence : Typical library numpy, SciPy, matplotlib, Enthought Librarys,pandas
  • system Operation and maintenance: the necessary language for operation and maintenance personnel
  • Finance : Quantitative trading, financial analysis
    • In the field of financial engineering, Python is not only used, but also used the most, and the importance of increasing year by year.
    • Reason: As a dynamic language Python, the language structure is clear and simple, the library is rich, mature and stable, scientific calculation and statistical analysis are very good, production efficiency is much higher than c,c++,java, especially good at strategy backtesting
  • graphical GUI: PyQT, Wxpython,tkinter
Python's advantages and disadvantages:
  • python program always looks easy to understand
  • Development efficiency very high , Python has a very powerful third-party library
  • High-level language , regardless of the underlying details such as how to manage the memory used by your program
  • Portability , Because of its open source nature, Python has been ported to
  • extensibility on many platforms, and you can write some of your programs in C or C + + and then use them in your Python program.
  • embeddable , you can embed python in your C + + program to provide scripting capabilities to your program users.
Cons:
  • Slow , Python runs slower than C and is slower than Java.
  • Code cannot encrypt , because For Python is an explanatory language, its source code is in the form of the name of the
  • thread can not take advantage of multi-CPU problems , only one thread is executing, the Python thread is the native thread of the operating system.
Python interpreter
  • To run the code, you need the Python interpreter to execute the. py file
  • The entire Python language is open source from spec to interpreter.
  • Python has a lot of interpreters, but the most widely used or CPython
CPython
  • Interpreter developed in C language
  • Running Python at the command line is the start of the CPython interpreter.
  • CPython is the most widely used Python interpreter.
IPython
  • Ipython is an interactive interpreter based on CPython
  • CPython uses >>> as a prompt, while Ipython uses in [ordinal]: as a prompt.
PyPy
  • PyPy uses JIT technology to dynamically compile Python code
  • Significantly increase the speed of Python code execution
  • Most python code can run under PyPy, but the results may be different
Jython
  • Python interpreter running on the Java platform
  • You can simply compile the Python code into Java bytecode execution
IronPython
  • Run at Microsoft. The Python interpreter on the net platform
  • Python code can be compiled directly into. NET byte code

About Python 01-python

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.