九色国产,午夜在线视频,新黄色网址,九九色综合,天天做夜夜做久久做狠狠,天天躁夜夜躁狠狠躁2021a,久久不卡一区二区三区

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費(fèi)電子書(shū)等14項(xiàng)超值服

開(kāi)通VIP
Exercise 23: Read Some Code

You should have spent the last week getting your list of symbols straight and locked in your mind. Now you get to apply this to another week of reading code on the internet. This exercise will be daunting at first. I'm going to throw you in the deep end for a few days and have you just try your best to read and understand some source code from real projects. The goal isn't to get you to understand code, but to teach you the following three skills:

  1. Finding Python source code for things you need.
  2. Reading through the code and looking for files.
  3. Trying to understand code you find.

At your level you really do not have the skills to evaluate the things you find, but you can benefit from getting exposure and seeing how things look.

When you do this exercise, think of yourself as an anthropologist, trucking through a new land with just barely enough of the local language to get around and survive. Except, of course, that you will actually get out alive because the internet isn't a jungle.

Here's what you do:

  1. Go to bitbucket.org, github.com, or gitorious.org with your favorite web browser and search for "python."
  2. Avoid any project that mentions "Python 3". That'll only confuse you.
  3. Pick a random project and click on it.
  4. Click on the Source tab and browse through the list of files and directories until you find a .py file (but not setup.py, that's useless).
  5. Start at the top and read through it, to take notes on what you think it does.
  6. If any symbols or strange words seem to interest you, write them down to research later.

That's it. Your job is to use what you know so far and see if you can read the code and get a grasp of what it does. Try skimming the code first, and then read it in detail. Maybe also try taking very difficult parts and read each symbol you know out loud.

Now try some of these other sites:

  • github.com
  • launchpad.net
  • gitorious.org
  • sourceforge.net
  • freecode.com
本站僅提供存儲(chǔ)服務(wù),所有內(nèi)容均由用戶(hù)發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊舉報(bào)。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
(62) What is the best practice for reading source code?
Python for Mobile Devices
如何提高寫(xiě)作技巧?
How to Read Large Source Code?
教學(xué)設(shè)計(jì)
How to Learn English Well
更多類(lèi)似文章 >>
生活服務(wù)
熱點(diǎn)新聞
分享 收藏 導(dǎo)長(zhǎng)圖 關(guān)注 下載文章
綁定賬號(hào)成功
后續(xù)可登錄賬號(hào)暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服