Become more fluent in Python—learn strategies and techniques for smart and high-performance Python programming
About This Book
• Write smarter, bug-free, high performance code with minimal effort
• Uncover the best tools and options available to Python developers today
• Deploy decorators, design patters, and various optimization techniques to use Python 3.5 effectively
Who This Book Is For
If you are a Python developer and you think that you don’t know everything about the language yet, then this is the book for you. We will unlock the mysteries and re-introduce you to the hidden features of Python to write efficient programs, making optimal use of the language.
What You Will Learn
• Manipulate object creation processes for instances, classes, and functions
• Use the best possible language constructs to write data structures with super speed and maintainability
• Make efficient use of design patterns to decrease development time and make your code more maintainable
• Write better test cases with an improved understanding of the testing framework of Python and unittests, and discover how to develop new functionalities in it
• Write fully-optimized code with the Python language by profiling, compiling C modules, and more
• Unlock asynchronous programming to build efficient and scalable applications
Python is a versatile programming language that can be used for a wide range of technical tasks—computation, statistics, data analysis, game development, and more. Though Python is easy to learn, it’s range of features means there are many aspects of it that even experienced Python developers don’t know about. Even if you’re confident with the basics, its logic and syntax, by digging deeper you can work much more effectively with Python – and get more from the language.
Python Unlocked walks you through the most effective techniques and best practices for high performance Python programming – showing you how to make the most of the Python language. You’ll get to know objects and functions inside and out, and will learn how to use them to your advantage in your programming projects. You will also find out how to work with a range of design patterns including abstract factory, singleton, strategy pattern, all of which will help make programming with Python much more efficient. Finally, as the process of writing a program is never complete without testing it, you will learn to test threaded applications and run parallel tests.
If you want the edge when it comes to Python, use this book to unlock the secrets of smarter Python programming.
Style and approach
This is book had been created to help you to “unlock” the best ways to tackle the challenges and performance bottlenecks that many Python developers face today. The keys are supported with program examples to help you understand the concepts better and see them in action.