Can python write software?

Yes, theoretically, you can write software after learning Python for just one hour:
① Search for installation tutorials and package adjustment methods
② Find the required package
③ Copy and paste the code and you’re done!

1. Application fields of python

Python is very suitable for non-scientific people to implement algorithms and write software, and is widely used in the fields of education and scientific research.

2. Features of python:

Life is short, use py! For those who have a foundation in other programming languages, python can be learned and used immediately. You can get started in 7 days and become proficient in 30 days. For people with no basic knowledge, Python is easy to get started with, and its syntax is simpler than Java, C++, etc.; learning materials are everywhere; there are also an extremely rich number of packages that can be called, saving you the time of reinventing the wheel. Most of the functions you want to implement have probably been written and open sourced by someone. Then you only need to search for the package name, and then use import+package name. It's equivalent to someone else having already written the code, you just need to be able to call it.

3. Python application examples

For example, image style transfer in deep learning only requires a few lines of code. The following code can realize the function of cartoonizing portraits, and the total adds up to less than 10 lines (excluding the code for the package adjustment part). If a function like this is implemented from scratch, I'm afraid most people won't be able to write it better than a ready-made open source package. Little Dragon Girl Little Dragon Girl cartoon

4. Python commonly used packages

Mathematical Statistics: sklearn.
Neural Network: pytorch.
Paper drawing: matplotlib, plotly, graphviz.
Image processing: opencv.
Graphical interface: pyqt5.
Office automation: docx, autogui.
Web development: django, flask.
How to use it, just read the official documentation. For example: matplotlib documentation. The meaning of each function and how to use it are all clearly written. If you don't understand, there are also examples for reference.

5. Summary

Even for something as sophisticated as artificial intelligence, with python you can use it in a day. Of course, if you have absolutely zero foundation, you will only be able to run the demo, and you are still far from being able to use it. For example, for beginners, Python is more like a software store. You can download whatever software you need (commonly known as a package guy or a script boy); for those who are proficient, it is a programming language and you can customize the functions you need. , to create software that meets project needs.

Guess you like

Origin blog.csdn.net/Everly_/article/details/133202244