Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Tips, Tricks & Techniques for Python Application Development
Rating: 3.5 out of 5(1 rating)
11 students

Tips, Tricks & Techniques for Python Application Development

Improve your application development process to build efficient apps with Python
Last updated 8/2018
English
English [Auto],

What you'll learn

  • Use different tips, tricks, and techniques while developing Python application.
  • Encounter performance issues in application and diagnose it.
  • Explore most popular ways to distribute Python applications.
  • Know the tools and formats to distribute packages, command-line, GUI and web applications.
  • Use modern software and test application in the development process.
  • Expand the productivity by using both standard and third-party tools.
  • Manage code quality in order to find potential errors early in the development cycle.

Course content

5 sections • 22 lectures • 3h 17m total length
  • The Course Overview3:49

    This video gives an overview of the entire course.

  • Identifying Bottlenecks7:41

    Find the most common causes of performance issues in Python applications.

       •  Distinguish CPU bound tasks and I/O bound tasks

       •  Use the time Unix command to diagnose performance issues

       •  Use the cProfile Python module for advanced profiling

  • Speeding Up I/O-bound Tasks5:49

    Take an existing I/O intensive Python application and speed it up.

       •  Understand concurrent I/O task execution in Python

       •  Use a ThreadPollExecutor to parallelize I/O tasks

       •  Use the time command to check the speed increase

  • Speeding Up CPU-bound Tasks5:20

    Take an existing CPU intensive Python application and speed it up.

       •  Understand concurrent CPU task execution in Python

       •  Use a multiprocessing Pool to parallelize CPU tasks

       •  Use the time command to check the speed increase

  • Move Time-critical Tasks to C/C++ Libraries16:44

    Take an existing CPU intensive Python application and speed it up using a C/C++ library.

       •  Create a Python extension that calls C/C++ code

       •  Parse Python arguments in C/C++ and return C/C++ objects to Python

       •  Use setuptools to build the extension

  • Alternative Python Runtimes6:50

    Speed up a Python application by using an alternative Python implementation.

       •  Choose an appropriate Python implementation

       •  Replace C/C++ extensions in your code with plain Python implementations

       •  Use PyPy to run the refactored application

Requirements

  • Viewers are expected to have Python programming knowledge and to have been using it in their projects.

Description

Python is a widely used advanced programming language. Over the years, Python has turned out to be a boon for developers and it is very powerful, fast, can run everywhere, and offers flexibility. Hence it is also important to gain insights into this language and use the right tips and tricks while you develop an application, as this makes life easy for developers. 

The course starts by dealing with performance issues and learning how to tackle them in an application. Distributing an application with Python is not easy but you will learn ways to distribute applications developed using Python along with GUIs, web applications, and more. Further, you will learn to test your application at different levels and use modern software at the development stage. You will also learn to expand productivity using standard and third-party tools. Finally, you will learn to protect your code quality from potential errors and detect any problem at an early stage, to prevent any issues later.

By the end, of course, you will have learned many tips and tricks while developing an application with Python; you'll excel at this and avoid encountering major problems as a developer. So, grab this course and take your applications to the next level! 

About the Author

Mihai Costea is an Automation Technical Team Lead at Telenav GmbH and is from Romania. He has worked with a lot of technologies over a long period. He worked with many startup companies and made a major contribution to them. He has experience in iOS, Python, Go, Docker, jQuery, Android OS development, and many more technologies.

Who this course is for:

  • This course is for existing developers who have been building applications with Python and are keen to learn some useful, interesting ways to further improve their Python programming skills to build powerful applications in a much more unique and easy way.