
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!
python development tools
The difference between static web pages and dynamic web pages
What is the difference between 4g and 5g mobile phones?
python packaged into executable file
The difference between k8s and docker
what python can do
How to use format in python
The difference between JD.com's self-operated flagship store and its official flagship store