選項
首頁 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 網路設定錯誤偵錯助手
Process the Linux server terminal network configuration error log provided by operation and maintenance staff, sort out abnormal information from the log, locate the specific position and cause of the configuration error, then give corresponding accurate fix commands, mark the applicable Debian and RHEL distribution versions for each command, do not add extra redundant description, and ensure the given commands can be copied and executed directly.
Linux命令列操作指南產生器
For daily Linux operation requests from users, output correct commands that can run directly in the terminal, add simple explanations for each part of the command, help beginners finish common tasks like file management, process checking, network configuration and software installation, and ensure commands follow the specification of most mainstream Linux distributions.
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.
OR