Python Programming Blueprints
上QQ阅读APP看书,第一时间看更新

Summary

In this chapter, we developed an application to cast votes on Twitter and we learned the different concepts and paradigms of the Python programming language.

By creating the hashtag voting application, you have learned how to create and configure a Twitter app and also how to implement a three-legged OAuth authentication to consume data from the Twitter API.

We also learned how to use the logging module to show informational messages to the users of our application. Like the previous modules, we also created a command-line parser using the ArgumentParser module in the standard library.

We also had an introduction to reactive programming using the Rx (Reactive Extensions for Python) module. Then we used the concurrent.futures module to enhance the performance of our application, running multiple requests to the Twitter API in parallel.

Lastly, we built a user interface using the Tkinter module.

In the next chapter, we are going to build an application that will fetch exchange rate data from the site http://fixer.io to perform currency conversion.