最近在写作一个需求,需要用 Python 脚本批量处理一些文件,于是需要写一个负责任务分配调用的脚本。
2023年01月16日
Python Try Except
Python中的错误可以有两种类型,即语法错误和异常。错误是程序中出现的问题,由于这些问题,程序将停止执行。另一方面,当发生一些内部事件改变程序的正常流程时,会引发异常。
Error in Python can be of two types i.e. Syntax errors and Exceptions. Errors are the problems in a program due to which the program will stop the execution. On the other hand, exceptions are raised when some internal events occur which changes the normal flow of the program.
2023年01月15日
2023年01月15日