官术网_书友最值得收藏!

Summary

In this chapter, you learned the basics of object-oriented programming in Python; we covered how to create classes, use inheritance, and use the @property decorators to create getter and setters.

We covered how to use the inspect module to get more information about modules, classes, and functions. Last but not least, we made use of the powerful package Beautifulsoup to parse HTML and Selenium to make requests to the weather website.

We also learned how to implement command line tools using the argparse module from Python's standard library, which allows us to provide tools that are easier to use and with very helpful documentation.

Next up, we are going to develop a small wrapper around the Spotify Rest API and use it to create a remote control terminal.

主站蜘蛛池模板: 汾西县| 任丘市| 岳池县| 民勤县| 额济纳旗| 错那县| 越西县| 古丈县| 舞钢市| 扬州市| 台湾省| 合江县| 海伦市| 清水县| 宜州市| 临朐县| 禹州市| 上蔡县| 高雄市| 特克斯县| 建宁县| 东安县| 大埔区| 新安县| 郧西县| 金塔县| 阿坝县| 灌云县| 榆中县| 海淀区| 夏邑县| 文登市| 德惠市| 武胜县| 都昌县| 山东| 婺源县| 莱阳市| 晋州市| 阜宁县| 泗水县|