Home >Backend Development >PHP Problem >What are the essential differences between php and python?

What are the essential differences between php and python?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-24 15:27:273219browse

What are the essential differences between php and python?

The difference between php and Python:

1. Python is not a scripting language, although it is dynamically interpreted. It can complete system-level development.

2. Python is cross-platform. You can use Python to develop software on mac, linux, win, or even s60 mobile phones; PHP does not have these capabilities.

Related recommendations: "php Basic Tutorial"

3. Grammatically speaking, python has more syntax honey, the language structure is concise, and the simplest, PHP The $ annoys you to death.

4. In web development, PHP is widely used and has a lot of ready-made codes and templates. Python is lacking in this aspect, although it has many good frameworks. Such as django.

5. Because of its scope of application, Python takes longer to learn. Of course, if you only play website construction, as someone said above, the learning period of webpy is very short. Basically, you can complete the basic website building in the browser. Work.

6. If you want to learn programming technology, python is recommended. If you want to publish the website as soon as possible, PHP is recommended. (There are many ready-made whole-site programs for PHP, which can be used after modification.)

The above is the detailed content of What are the essential differences between php and python?. 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