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

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.

主站蜘蛛池模板: 松江区| 汨罗市| 松江区| 临江市| 盘锦市| 尚义县| 龙里县| 张家界市| 天祝| 伊通| 噶尔县| 扬州市| 牟定县| 常山县| 察隅县| 海宁市| 商水县| 米泉市| 宁城县| 五常市| 昌乐县| 炉霍县| 宁河县| 屏边| 辉南县| 海淀区| 凌海市| 上栗县| 甘孜县| 汝州市| 广水市| 三明市| 石台县| 东辽县| 大厂| 玉溪市| 宁明县| 原阳县| 白玉县| 南昌县| 久治县|