Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

30-year-old traditional operation and maintenance transformation, development, operation and maintenance

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

30-year-old confused, shallow contact, oracle,mysql, linux, Solaris, storage, fibre switch, virtualization, shell script. no, no, no. One-stop operation and maintenance, development and testing of UAT simulation production. Every day is spent in the busy, can not find their own value, there is no in-depth research time, but has been dealing with the existing work, want to jump out of this endless cycle, the working hours are fixed. So find a book and a video self-study development, compare java, go, python, and choose a python which is closely related to operation and maintenance. Write 20181127 to yourself, the first day of study, notes.

All operators should learn development skills.

1.python: wide application range

two。 Tamping the foundation of python, common methods

3. Object-oriented programming thinking

4. Modular programming

5. Game programming

6. Computer simulation.

There are no shortcuts to learning.

Zero start

1. Install ignore-choose version 3 + (2.7is also installed), environment Windows and linux are installed

2.python has its own IDLE python shell startup

Print ('I like programming development, choose python')

I like programming development, choose python

Print ('- I like python programming -')

Temp = input ("Please enter a python number:")

Guess = int (temp)

If guess = = 8:

Print ("Hello input is normal, awesome")

Print ("too good to guess the first time")

Else:

Print ("Game over, stop playing")

Help:

BIF

Dir (builtins)

Help (input)

Help (int)

First = 3

Second = 8

Third = first + second

Print (third)

eleven

Variables: must be assigned

Myteacher = 'enlightened way'

Yourteacher ='de Tao'

Outteacher = myteacher+yourteacher

Print (outteacher)

Enlighten the way and get the way.

1. Variables must be assigned values

two。 Naming must include characters, numbers, underscores, but not the beginning of numbers

3. Characters can be uppercase and lowercase, but of different sizes

4. Equal sign assignment, left name, right value

5. In theory, you can choose a legal name, and try to choose a professional name.

String

1. Everything in quotation marks, text and numbers are fine, but the results are different.

two。 Quotation marks can be single or double quotes and must be in pairs

3. The string requires single or double quotation marks, which can be operated by using the escape symbol\.

'Let\'s go!'

4. The original string str ='C:\ now'

Can be escaped with\

Str ='C:\ now'

Original string plus r

In the end, you can't add.

5. Special string, three quotation marks

Str =''I love my motherland, it is the flower of my motherland

Hello, everyone. Learn the first step and do it.

Speak English

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report