Book Image

Troubleshooting Python Application Development [Video]

By : Rudy Lai
Book Image

Troubleshooting Python Application Development [Video]

By: Rudy Lai

Overview of this book

<p>Although you're comfortable with Python, you wonder whether you are writing fast and performant code. Once in a while, you run out of RAM or your application doesn't run fast enough, and this forces you to find a different solution.</p> <p>To further your software development career, you need to understand why and how Python executes your code so that you can create clean code that compiles in time.</p> <p>Troubleshooting Python Application Development is your answer. This course takes you through a structured journey of performance problems that your application is likely to encounter, and presents both the intuition and the solution to these issues. You'll get things done, without a lengthy detour into how Python is implemented or computational theory.</p> <p>Quickly detect which lines of code are causing problems, and fix them quickly without going through 300 pages of unnecessary detail.</p> <p>All the code and the supporting files of this course are available on GitHub at -&nbsp;<a href="https://github.com/PacktPublishing/Troubleshooting-Python-Application-Development" target="_blank">https://github.com/PacktPublishing/Troubleshooting-Python-Application-Development</a></p> <h1>Style and Approach</h1> <p>The course is full of hands-on instructions, interesting and illustrative visualizations, and, clear explanations from a data scientist. It is packed full of useful tips and relevant advice. Throughout the course, we maintain a focus on practicality and getting things done, not fancy mathematical theory.</p>
Table of Contents (6 chapters)
Chapter 5
Make Your Apps Run Faster with Parallel Programming
Content Locked
Section 4
Stop Processes from Interfering with Each Other with Locks
In this video we will understand how we can stop processes from interfering with each other using locks. - We will be using multiprocessing.Value to share variables - Why does it not add up? - Using a lock to remove overwrites