Home  >  Article  >  Backend Development  >  The difference between python and pycharm

The difference between python and pycharm

silencement
silencementOriginal
2019-06-26 09:55:4518676browse

The difference between python and pycharm

Introduction to Python

Python was created by the famous "Uncle Turtle" Guido van Rossum during the Christmas period of 1989, in order to kill boredom. A programming language written for Christmas. Python provides us with a very complete basic code library, covering a large number of contents such as networks, files, GUIs, databases, texts, etc. It is vividly called "batteries included". Developed in Python, many functions do not need to be written from scratch, just use ready-made ones. In addition to the built-in libraries, Python also has a large number of third-party libraries, which are things developed by others for you to use directly. Of course, if the code you develop is well encapsulated, it can also be used as a third-party library for others to use. Many large websites are developed using Python, such as YouTube, Instagram, and domestic Douban. Many large companies, including Google, Yahoo, etc., and even NASA (National Aeronautics and Space Administration) use Python extensively.

Advantages and disadvantages of python

Advantages:

"Elegance", "clear" and "simple" are the positioning of python, so Python programs always seem simple and easy to understand. Beginners learning Python are not only easy to get started, but also can write very, very complex programs if they go deeper in the future. In general, the philosophy of Python is to be simple and elegant, try to write code that is easy to understand, and try to write as little code as possible.

Disadvantages:

The first disadvantage is that the running speed is slow, very slow compared with C programs, because Python is an interpreted language, and your code will be translated line by line during execution. The machine code that the CPU can understand, this translation process is very time-consuming, so it is very slow. The C program is directly compiled into machine code that the CPU can execute before running, so it is very fast.

The second disadvantage is that the code cannot be encrypted. If you want to publish your Python program, you are actually publishing the source code. This is different from C language. C language does not need to publish the source code. You only need to publish the compiled machine code (that is, the common xxx.exe file you see on Windows). ) published. It is impossible to deduct C code from machine code. Therefore, compiled languages ​​do not have this problem, while interpreted languages ​​must release the source code.

Introduction to pycharm

PyCharm is a Python IDE created by JetBrains. Resharper, the reconstruction plug-in for VS2010, was developed by JetBrains. PyCharm is a Python IDE that comes with a set of tools that can help users improve their efficiency when developing in the Python language, such as debugging, syntax highlighting, project management, code jumps, smart tips, auto-completion, unit testing, and version control. . In addition, the IDE provides some advanced features to support professional web development under the Django framework.

pycharmFeatures

First of all, PyCharm has the functions that general IDEs have, such as debugging, syntax highlighting, project management, code jumps, and smart prompts , automatic completion, unit testing, version control

In addition, PyCharm also provides some good features for Django development, and supports Google App Engine. What’s even cooler is that PyCharm supports IronPython.

The above is the detailed content of The difference between python and pycharm. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn