官术网_书友最值得收藏!

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
主站蜘蛛池模板: 股票| 漳平市| 突泉县| 克山县| 织金县| 多伦县| 西乌珠穆沁旗| 都匀市| 大邑县| 四川省| 丘北县| 灵川县| 义马市| 常宁市| 泸溪县| 淅川县| 修水县| 张家口市| 西和县| 洛浦县| 遂平县| 莱西市| 安达市| 新巴尔虎右旗| 顺昌县| 堆龙德庆县| 南部县| 日土县| 肥西县| 忻城县| 西城区| 如东县| 滨海县| 蕉岭县| 精河县| 武邑县| 上杭县| 临清市| 简阳市| 无极县| 顺平县|