Hello, everyone. My name is dream. I’m an interesting Python blogger. Please take care of me
CSDN is a high-quality creator in Python field and is a sophomore. Welcome to find me for cooperative learning (VX wants to enter the learning exchange group or learning materials at the end of the article. Welcome + + +)
Introduction note: this paradise is never short of genius, and hard work is your final admission ticket!
Finally, may we all shine where we can't see and make progress together
“Ten thousand times sad, there will still be dream, I have been waiting for you in the warmest place”, singing is me! Ha ha ha~
preface:[dream open course] series of courses are a complete set of courses for Python Introduction & advanced. If you like it, please hurry to collect and subscribe~
【 group report for heating 】
If you don’t have self-control or motivation to learn and communicate together, you are welcome to send a private letter or add my VX at the end of the text. I will pull you into the learning and communication group. We will communicate and study together and punch in the group
There are many more benefits in the group waiting for you to unlock. Join us quickly!
What’s new, I knew:
- one ️⃣ Learning objectives – know in advance
- two ️⃣ Learning task – I can do it
- 01 know Python
- 02 Python installation and integrated development environment – pycharm
- 03 IPython interactive interpreter
- 04 Python program execution principle
- three ️⃣ Summary of this chapter — it is difficult to know
- four ️⃣ Small test ox knife – receive welfare
- five ️⃣ Write at the end – surprise activities
☀️☀️☀️ A lofty goal, as long as unswervingly pursued, will become a feat!
- understandPython development history, characteristics and application fields
- understandPython program execution principle
- understandPycharm writes simple Python programs
- masterConfiguration of Python development environment
Poor and strong, don’t fall into the ambition of green clouds!
—-Python was founded by Guido of the Netherlands—-
In 1989, Guido decided to develop a new script interpreter as an inheritance of ABC language in order to kill the boredom of Christmas. Python was chosen as the name of the programming language because he is a fan of a comedy group called Monty Python.
- Easy to learn
- Easy to read
- Easy maintenance
- Powerful standard library
- Interactive mode
- Database operation
- GUI programming
- Web development domain
- Automation script for operating system management and server operation and maintenance
- Scientific computing
- Desktop applications
- Server software (network software)
Up to December 2021, Python is also the most popular language in the world, and has been on the rise. It can be said that the development of Python in the future is unlimited!
Python2. X and python 3 X difference:
- The print function replaces the print statement
- python3. X uses UTF-8 encoding by default, and the difference is clear at a glance:
- Division operator/
In short, only when the divisor and dividend of Python 2 have a decimal part, the result will have a decimal part, otherwise it will only be rounded, while Python 3 has no such limitation.
5. Octal literal represents 0b \ 0o \ 64 \ 0x
6. Inequality operator
Simply put, there is no < > sign in Python 2 in Python 3. In Python 2, it means that there is data between two numbers, which is both greater than the data on the left and less than the data on the right.7. Data type
This is the difference between long type and int type. Please refer to:
Python installation and integrated development environment pycharm * * will not be repeated here. In this blog, I have made the introduction and selection of Python version very clear! For your reference:
Starting from the whole network, an article takes you into the world of pycharm – don’t ask me about pycharm installation and environment configuration!!! Ten thousand words just smile for you. Collect them quickly!
—-IPython is an interactive interpreter—-
1. The performance of IPython is better than that of standard Python shell.
2. IPython supports automatic variable completion and indentation, supports bash shell commands, and has built-in many useful functions and functions.
3. Run the script with the% run command.
4. Use the% timeit command to quickly measure the code running time.
—-Console input command:
pip install ipythonAutomatic installation—-
Enter this command in CMD, and then display this commandRequirement already satisfiedCommand, it means that the installation has been successful.
1. Start IPython
Enter IPython to display
2. Ippython automatic completion
The implementation principle of Python is actually very simple, which is one:source codeCompile intoBytecodeAnd then forward the compiled bytecode toPython virtual machine (PVM)A process performed in.
Here we will show you a simple flow chart to make you understand more:
Life is not only a journey, but also a journey; It is waiting and reunion; It is exploration and treasure hunt; Tears and songs!
First of all, let’s get to know Python and explain the development process, characteristics, application fields, python versions and the similarities and differences of different versions of Python; Then it explains the installation methods of Python on different platforms, then introduces the use of IPython and pycharm, and finally takes you to analyze the execution principle of Python program.
Through the study of this chapter, I hope you can have a preliminary understanding of python, and can independently complete the installation and basic use of Python development tools, so as to prepare for the later study of Python development.
Introduction to playing method:Here are some examples for this class. If you have any questions, please put them forward in the comment area. If you have ideas and ideas, you are welcome to give your opinions and answers in the comment area. Dream will take out two lucky partners to send a python reference book and a 6.6 yuan learning encouragement red envelope respectively according to the situation of everyone answering questions in the comment area in a month. Let’s discuss it in the comment area quickly~
💬💬💬 Q: do you know the relationship between Python and pychar? 👻👻👻
Express your views and opinions in the comment area. Maybe the next winner is you. The answer will be announced in the next issue!
If you don’t have self-control or motivation to learn and communicate together, welcome to send a private letter or add my VX at the end of the text. I will pull you into the learning and communication group. We will communicate and study together, report to the group and punch in. There are many benefits in the group, waiting for you to unlock. Join us quickly!
one ️⃣ The course is equipped with PPT [original copyright, infringement must be investigated]: if you want to get started with Python quickly, this detailed ppt can quickly help you lay a solid foundation for Python. If you need it, you can download it
A complete set of Python introductory basic tutorials + Xiaobai quick success + learning won’t come to me!
two ️⃣ This is a confession artifact and Christmas tree made in Python. You need to get it yourself:
Python confession artifact, source code + analysis + various perfect configurations + romantic and novel
3️⃣ Christmas tree confession source code + material + take it directly
It’s dream. The blogger is participating in the selection of CSDN blog star in 2021! I hope you can support five stars! Thank you~
I look forward to your five-star praise – the entry of “blog star” in 2021. Blogger: it’s dream
Click above to vote ✌✌✌✌✌✌✌✌✌✌
🥇 2021 between me and CSDN — from passers-by to a Wanfen Blogger
🥈 Python new year confession artifact – you deserve it
🥉 Christmas is coming, how can there be no Christmas tree? Come and send her a special Christmas gift~
Well, that’s all I want to share with you today. See you next time! ✨ ✨ ✨
If you like, don’t save your one button three connections~