程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

What can Python do? Can you teach yourself?

編輯:Python

1、 Whatever your current occupation , At the meeting python On the basis of this, your path will become wider , Faster appreciation , The salary will be higher

2、python Self study is certainly no problem , At present, the Internet has a large number of python Self study course , From the beginning - primary - senior - A great god , I can't learn without you , I'm afraid you don't work hard enough !

One 、python What can be done

python As the most popular program language in recent years , Not one of them. , Why is it so hot ? Because it's simple and efficient 、 Participate in a wide range of industries , It is sought after by people of different professions in various industries , that pyhton What is it , From a purely conceptual point of view, a cross platform computer programming language . It's a high-level combination of explanatory 、 Compilability 、 Interactive and object-oriented scripting language .

at present Python Main application fields : The education industry 、 Cloud computing 、WEB Development 、 Algorithms of major platforms 、 Finance 、 The system operational 、 Artificial intelligence 、 The Internet of things 、 Big data analysis .... And so on

python What industries can be engaged in ?

python There are many industries to be engaged in , Such as office automation 、 automated testing & Operation and maintenance 、 Big data analysis 、 Web crawler 、 Artificial intelligence ... wait

What are the corresponding occupations ?

python Automation test engineer 、python Development 、 Big Data Analyst 、 Web crawler Engineer 、python lecturer ( a juvenile & adult )、 Algorithm engineer ....

How about the future development ? Now we will recruit and BOSS The data of the two direct employment platforms are presented to you :

python Big Data Analyst

python Algorithm engineer

python Web crawler Engineer

python Automation test engineer

Many students read the above introduction , In addition to students majoring in computer , Do students of other majors feel that they have no egg for themselves , It would be a big mistake to think so ,python Useful in many positions , And can quickly improve your work efficiency , Especially those who are about to graduate , During the interview , This skill has a bonus effect ! At the end of the day python What other posts can get twice the result with half the effort ? Let's see !

Office automation ( It is applicable to civilian posts : Personnel matters 、 Administration 、 Finance and accounting 、 Teachers' )

Office automation is nothing more than for office perhaps WPS Such as the use of office software , To be specific, yes word、excel、ppt Office automation application , Here is just a brief introduction to the concept , Give an example of a general knowledge point , The specific use will not be detailed here , Interested students can go online to learn about relevant materials !

word automation

python operation Word The library of :

python-docx、import docx: Only right windows The platform works

pypiwin32、import win32com: Cross platform , But it can't handle doc Format word Text ,doc The format is not based on xml Of

textract、import textract: It takes into account “doc” and “docx”, But the installation process requires some dependencies . You can use... In batches python Generate word file , Recommended docx, It doesn't need to be too much .

excel automation

office Families can actually use VBA Solve the problem of Automation , But many people may not use .

python in the light of excel There are many third-party libraries available , such as xlwings、xlsxwriter、xlrd、xlwt、pandas、xlsxwriter、win32com、xlutils wait .

ppt automation

python Support, of course ppt Automatic processing of , The main libraries are pywin32com、pptx, You can create 、 modify ppt file .

Take accounting as an example python Efficiency in practical work :

The essence of finance is data , and Python It is a sharp tool for data analysis . And because Python Getting started in a programming language is relatively easy , fit 0 Basic financial person learning , We decided to start with Python Starting with , Establish financial code Python official account , Positioning the financial person Python Study and discussion .

Financier ,Stay hungry, Stay foolish, Why not be a little curious about technology .

Whether you are :

+ Zero foundation financial junior sister who wants to start programming ;

+ Financial professionals who want to improve their work efficiency ;

+ Want to go deep into business from finance 、 Data control of transformation data analysis ;

Python It not only takes root in many fields with its powerful functions , Because of its concise language 、 Easy to use and favored by practitioners from all walks of life . that , For financial personnel Python To upgrade the armed forces , How powerful can it be ? Let you know from three small cases Python The power of ~~

01 Massive data processing

First, let's compare a set of data :

+ use Excel Handle 50000 That's ok X100 The data of the column needs 15 minute ;

+ use Python Handle 10000000 That's ok X50000 The data of the column only needs 10 second

You don't have to watch the mouse turn and turn anymore ~ use Python Processing huge amounts of financial data ,so easy!

02 Complex computational logic

When complex computational logic encounters Python Loop and judgment processing , It's like being killed with a sword !

// give an example

Count all stores 2019 Monthly average operating data during the annual marketing campaign , The monthly average operation data is multiplied by the corresponding coefficient according to the store attributes :

+ Opening time :2010 year 1 month 1 Open a shop in the future , Multiply by a factor 0.9;2010 year 1 month 1 I opened a shop the other day 1;

+ Store size : Large stores , Multiply by a factor 0.5; Medium sized shops take 0.7; Small shops take 1;

+ Urban size : first-tier cities , Multiply by a factor 0.8; Second tier cities take 0.9; Third tier cities take 1.

Obviously , use Excel Dealing with complex judgment logic , Not only is the formula difficult , And the execution efficiency is low .

I saw Python After the treatment of , Only then discovered , what ?? It can be operated like this !

03 Rich and cool charts

Python What else can you do ?

Let's take a look at the financial statement analysis ,Python How to end the abuse Excel Of ~

Is it amazing ? Finance can be used Python Play like this , It is no wonder that Python In the past two years, it has become the “ online celebrity ”.

Two 、python Is self-study OK ?

This question has been answered at the beginning of the article , How should I learn by myself , It still depends on your own situation ! Let's explain in detail :

Python Language is simpler than other computer languages , But about learning , We have to see if the subject has relevant computer foundation . Because you need to know something about memory at least , Otherwise, I don't know how to save variables .( Of course, this is just a simple example )

1) If there is a foundation , I have good learning ability , There is no problem with self-study .

Specifically : You can collect some teaching materials that are suitable for you , Search the Internet for some corresponding video courses to assist in learning .

Turned the bookshelf , I saw the books I had bought

The overall feeling is pretty good , The explanations were meticulous , Knowledge points cover all aspects ( From basic grammar to framework design 、 Reptiles 、 automation 、 Artificial intelligence 、 Game development involves ), Scan QR code and watch video tutorials , Suitable for basic children's shoes .

2) If there is no foundation , Children's shoes with relatively weak self-learning ability .

It is recommended to enroll in online or offline courses , The teacher will teach some theories first , And then do some practical projects , It will be more efficient .

Learning methods

Tell me about Python The view of learning , In my submission Python Is a relatively simple programming language , The most efficient learning route for programming is the following steps :

Read a book or some tutorials to get started , Master the grammar and common methods of the language

Find some small projects to practice , Leak filling , Make clear your own shortcomings on the basis of proficient grammar

Find a direction , Do some corresponding actual combat , Further consolidate

Let me talk about my understanding of Python The view of learning , Not necessarily for everyone , If there are different opinions , Welcome to discuss .

In my submission ,Python Systematic learning can be carried out in three stages :

• introduction

• Advanced

• actual combat

1. introduction

About Python There has been a lot of discussion about getting started , Many bloggers recommend a wave of books , I think people's energy and time are limited , There are too many recommended books and tutorials , It's hard to avoid learning , You might as well choose oneortwo good books , Learn carefully . Especially for programming languages , More need to step on the pit constantly in the process of practice , To realize what would be better , For example, object-oriented 、 Functional programming 、 Class and so on , Only when we use it in actual combat , Can more truly realize its role and advantages .

For starters , Books and online tutorials are recommended respectively .

besides , There are some good Python Books can be chosen :

《Python Programming : From introduction to practice 》

《Python Programming fast 》

《 Think like a computer scientist Python ( The first 2 edition )》

《 smooth Python》

2. Advanced

Mastered Python Basic grammar of , For example, operator 、 Conditional statements 、 Loop statement 、 data structure 、 function 、 Class etc. , To impress , We need some small projects to further enhance our understanding of Python The cognitive .

3. actual combat

Learn basic grammar and understand Python What to do after the higher-order method ?

I think the first thing is to choose a direction ,

• machine learning

• The image processing

• Natural language

• Data analysis

• web

• ......

Only in this way can I know which direction I should work towards 、 What items should we practice with , Further consolidate the programming ability , This is better than “ Headless chicken ” The efficiency of aimless learning is much higher .

secondly , You can find some excellent projects for actual combat , Expand your knowledge and consolidate your programming ability .

Come here , We can find out , If there is no teacher to guide , Then it will be more difficult in project practice , I don't know what projects to do , I don't know how to do it , I don't know how to solve problems . therefore , In the higher stage , If you want to really improve , It's better to follow the teacher .


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved