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

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.

主站蜘蛛池模板: 平陆县| 佛冈县| 金溪县| 江陵县| 延边| 安达市| 石台县| 梧州市| 开江县| 武定县| 若羌县| 象山县| 开封县| 龙川县| 蓬溪县| 来宾市| 福贡县| 乐亭县| 罗平县| 新丰县| 上高县| 巴林右旗| 唐河县| 彰武县| 永年县| 治县。| 互助| 沅江市| 溆浦县| 襄垣县| 宽城| 那曲县| 甘南县| 文山县| 永丰县| 绥德县| 昔阳县| 漾濞| 保康县| 都安| 芜湖县|