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

Can I learn Python with Zero Foundation?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article mainly explains "can you learn Python with zero foundation". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "can you learn Python with zero basics?"

Can I learn Python tutorials without a foundation? For most beginners, they will feel heavy pressure when learning Python, because there is no basis to learn this cross-platform computer programming language, which is undoubtedly a self-challenge. But compared with Java, learning Python is faster, and it is a very good choice for people who are in urgent need of a job.

1. Find the right introductory book, read it roughly once, cycle, judge, commonly used, understand.

2. It's good to do some simple exercises, string comparison, reading dates and so on Python Cookbook.

3. Join the Python discussion group with a friendly and smiling attitude and a lot of small questions and entanglements for a long time. The idea of a word-on-demand will really save you a lot of time. Patient advice to my good people, super super thank you.

4. Solve your own computer problems. For example, when we download American TV series, we have downloaded 8 episodes of 2 Magi, 4 Jing and 5 Jing, while there are 12 episodes of American TV series. How to find out the missing episodes? Then the problem is decomposed, 1 reads the names of all downloaded files, 2 extracts the numbers of the set, 3 sorts the numbers and compares them with (1-12) to find out what is missing.

Always remember the purpose, not to be a programmer, but to solve problems. For example, if you want to slack off and grasp web content, you can't use urllib or request, only to find that crawling content involves so many aspects (cookie,header,SSL,url,javascript, etc.). Of course, you can listen to others' advice, go back and study hard, and read it from the beginning.

Or, instead of seeking efficiency, just ask for a solution, can you use ie to open the web page and save it as? ie has already rendered all the results. The problem becomes: 1-Open the specified 10 web pages (one line of code). Do you want to save something more complicated? Using an existing package, such as PAM30 (mine is Python3), open ie directly, save it as text with the function outHTML, and then use the search function (str search or re regular) to find the data. Easy, isn't it? And the code is super short.

6. Keep interested and solve the problem in the simplest way. Leave it to Daniel to write about the underlying drivers and all kinds of exchanges. We use the existing package to do it.

7. Read the document patiently and practice reading it quickly. To get the new package and find the function you need, you need to read it quickly. This is not difficult, read the name of the function, you can probably guess what it is, and then look at the return value to determine whether you need it or not.

8. Write help files and study notes, and publish sharing. When you teach others, you have already thought about it again. I think learning programs is like learning English. By understanding high-frequency words (loops, judgments, commonly used packages, commonly used functions), you can assemble the software you want.

At this point, I believe you have a deeper understanding of "can you learn Python with zero foundation"? you might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

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