Today is the first lesson in writing the basics of Python, and the first article to make up your mind to do technical sharing. I have been engaged in WEB development for 6 years, and the main programming language is PHP. Fortunately, I have never worked in an outsourcing company during the 6 years. With the continuous development of technology, I know that as a programmer, I need to constantly improve, keep up with the technical development direction, and learn other languages or frameworks. At the same time, I must have a deep understanding of source code, algorithm, programming ideas, network protocol, and Linux. So I decided to do technical dry goods sharing, can earn a sum of extra income is the best, even if not is the accumulation of their own technology.

In the New Year, I will set a Flag that I will not receive any outsourcing this year after finishing the existing private work on my hand. I will concentrate on accumulating technology. Although outsourcing has a lot of income, it will only make me become a skilled rookie. The main goals for this year are:

  1. Basic Python tutorial, syntax, conditions, loops, classes and objects, files and streams

  2. Advanced Programming in Python, networking, multithreading, WEB framework

  3. In Python, you may write small projects that are close to your life, interpret case studies, and write crawlers

  4. Platitude algorithm, design pattern to understand and master, read the book N times, each time I forget, seem to understand, but did not really understand its meaning, also did not really apply in the project, so this year must be the design pattern and algorithm thoroughly.

  5. If time permits, Uninx advanced programming should also learn, understand the computing system, will make programming easy.

To all the programmers who are working on it, your efforts will be rewarded equally. No one wants a 30-year-old programmer? That may be his technology is not good enough, since like programming a way to go black bar.

What can I do after this course?

After completing this course, you will be able to build a Python development platform for later Python learning.

How long does the course take?

For an experienced programmer, it may take only 3-5 minutes to set up a Python development environment in Ubuntu. It may take slightly longer on Windows.

Course content

  1. Depending on your operating system, download python3. For the rest of the study, it will all be based on Python3.

Python download address: www.python.org/downloads/

  1. The installation

Windows double-click the installation package to go to the next step.

Once installed, Python is available from the Start menu. Select IDLE to open the editor.

# getting started

print("Hello world");
Copy the code

How to install ubuntu 18.04?

sudo apt-get install python3

After the installation is complete, type PYTHon3 directly
Copy the code

Class question?

What’s the difference between Python2 and Python3? Are they compatible? What’s the difference in grammar? Do you have to study both?

So you can kind of get a sense of that, but we’re not going to do that in the introductory phase, so let’s just do Python3.

What’s next?

Next time we’ll look at Python syntax, variables, functions, and user input and output.

Follow the public account, reply Python basic download all code + ebook all courses public account launch