- Mastering Python Scripting for System Administrators
- Ganesh Sanjiv Naik
- 106字
- 2021-07-02 14:00:31
Debugging and Profiling Python Scripts
Debugging and profiling play an important role in Python development. The debugger helps programmers to analyze the complete code. The debugger sets the breakpoints whereas the profilers run our code and give us the details of the execution time. The profilers will identify the bottlenecks in your programs. In this chapter, we'll learn about the pdb Python debugger, cProfile module, and timeit module to time the execution of Python code.
In this chapter, you'll learn about the following:
- Python debugging techniques
- Error handling (exception handling)
- Debugger tools
- Debugging basic program crashes
- Profiling and timing programs
- Making programs run faster
推薦閱讀
- OpenShift開發指南(原書第2版)
- JavaScript語言精髓與編程實踐(第3版)
- Neo4j Essentials
- Elastic Stack應用寶典
- JSP開發案例教程
- iOS應用逆向工程(第2版)
- PostgreSQL Replication(Second Edition)
- C程序設計實踐教程
- Node.js Design Patterns
- 從零開始學Linux編程
- MongoDB,Express,Angular,and Node.js Fundamentals
- Beginning C++ Game Programming
- Julia High Performance(Second Edition)
- 寫給青少年的人工智能(Python版·微課視頻版)
- 程序員的算法趣題2