Book Image

Daniel Arbuckle's Mastering Python

By : Daniel Arbuckle
Book Image

Daniel Arbuckle's Mastering Python

By: Daniel Arbuckle

Overview of this book

Daniel Arbuckle's Mastering Python covers the basics of operating in a Python development environment, before moving on to more advanced topics. Daniel presents you with real-world solutions to Python 3.6 and advanced-level concepts, such as reactive programming, microservices, ctypes, and Cython tools. You don't need to be familiar with the Python language to use this book, as Daniel starts with a Python primer. Throughout, Daniel highlights the major aspects of managing your Python development environment, shows you how to handle parallel computation, and helps you to master asynchronous I/O with Python 3.6 to improve performance. Finally, Daniel will teach you the secrets of metaprogramming and unit testing in Python, helping you acquire the perfect skillset to be a Python expert. Daniel will get you up to speed on everything from basic programming practices to high-end tools and techniques, things that will help set you apart as a successful Python programmer.
Table of Contents (13 chapters)

Summary

In this chapter, we discussed the benefits and drawbacks of using compiled code. We took a look at using Python's standard ctypes package to access functions stored in compiled C-compatible dynamic libraries, which is a quick way to gain access to the functionality that was written in other languages.

We also saw how to use Cython to operate with one foot at Python's higher level and C's much lower level of abstraction, with surprisingly little pain involved in bridging the gap. We can use this knowledge to optimize bottlenecks in our programs or access functionality that's only available when we operate close to the hardware.

With this, we've come to the end of this course. I hope you've learned a lot and have gained immense knowledge about Python. Keep learning!