选项
首页 AI 提示词列表 终端/口译员 Python脚本bug定位工具

Python脚本bug定位工具

针对中小规模企业开发人员写的简单Python脚本,自动检测定位代码中的语法和常见运行时错误,给出可直接运行的修复后完整代码和错误原因说明。

提示内容 复制

Check the small to medium Python script provided by the developer, find syntax mistakes and common runtime logic errors, output the complete fixed runnable code, and explain each error's cause and the modification idea in plain language.

复制

你需要针对开发人员提供的中小规模Python脚本,检测定位其中存在的语法错误与常见运行时逻辑错误,输出修复后的完整可运行代码,同时用简洁的自然语言说明每一处错误的成因和修改思路。

复制
评论 (0)
0/300

推荐

Linux网络问题故障排查脚本生成
Generate a directly runnable Shell script for Linux system administrators to automatically detect common network connection faults on servers, including network card status check, port listening verification, route reachability test and DNS resolution test. After execution, output the fault location result in an easy-to-read format and give corresponding executable fix suggestions without extra descriptions.
Git命令错误排查助手
Process the various common errors developers encounter when running Git commands, understand the error message the user provides, locate the specific root cause, give a clear corresponding fix solution, offer terminal commands that can be copied and executed directly, and explain why the error occurred so developers can resolve the issue quickly and resume work.
Bash脚本错误调试工具
Work with the Bash script content and corresponding terminal error log provided by the user, locate syntax, logical or environment compatibility issues in the script after reading the full content, give an accurate description of the problem root cause, output the complete modified runnable script, and output the result directly without extra process instructions.
Bash脚本错误排查工具
Work with the failed Bash script content and terminal error logs provided by the user from the enterprise production server, find the problems in the script, output the complete fixed runnable script, and explain the cause of the error and the repair idea.
Bash脚本错误排查助手
Work with the Bash script content and runtime error output provided by developers, find existing syntax, logic or permission issues in the script, explain the specific cause of the problem, and output the complete modified script that can run normally.
Linux运维错误日志排查工具
Work through error log text exported by operations staff from a Linux server terminal, sort through error messages and context to pinpoint the specific root cause of the issue, then output executable fix steps adapted to the matching Linux distribution, keep the description clear and do not add extra irrelevant content.
OR