Home · Business · IT, Data & Security · Software development
As of 13 August 2026, AI can only partly write Python code for your business.
This still needs a person who signs their name to it.
Can you do it?
15 minutesto a draft.
1 hourto something you’d act on.
Cost, all in£0
Skill neededpower-user
Who has to check ita colleague
What the alternative costsA professional developer can use Cursor, an AI code editor intended for professional developers, to build and review the code.
If this goes wrong: the code can corrupt business data, expose credentials, produce incorrect reports or interrupt a live process before the defect is noticed.
What to actually do
Hand it to a person
The route this page recommends
A person who owns the outcome does this end to end, worth it when the failure is dear.
Use a tool built for this
Second choiceDo it yourself
The distant thirdA chat interface, power-user skill, and roughly 1 hour until you can act on the result.
How to actually do it
- Open a plain document and write the business outcome, users, inputs, outputs, rules, edge cases and what must never happen.
- Create harmless sample files or records that represent normal, empty, invalid, duplicate and boundary cases, with real customer data removed.
- Collect the relevant system documentation, Python environment details and deployment constraints, but keep passwords, API keys and personal data out of the chatbot.
- Paste the prompt with the completed task details and sample data into a chatbot, then save the proposed file tree, code, tests, assumptions and unresolved questions.
- Create the files in a separate development folder, install only the stated dependencies, run the generated tests and compare each output with your expected examples.
- Ask a technically experienced colleague to inspect authentication, permissions, input validation, data handling, logging, dependency risks, error recovery and deployment steps.
- Run the corrected code against copied or synthetic data, compare its results with a manually checked result, and only then arrange a controlled deployment with backups and a rollback plan.
Prompt
Act as a careful Python developer. Build a small, maintainable Python application for this business task: Task: [describe the workflow and the desired result] Users: [who will run it] Environment: [operating system, Python setup, hosting or deployment method if known] Inputs: [file formats, API details, example records or other safe sample data] Outputs: [files, reports, database changes or messages required] Rules: [business rules, edge cases and calculations] Existing systems: [systems it must connect to, using documentation or mock interfaces where details are missing] Constraints: [security, privacy, performance, access and maintenance requirements] Do not invent API endpoints, credentials, database fields or business rules. If information is missing, state the assumption and isolate it in one clearly marked configuration section. Never include real secrets or ask me to paste them. Use standard-library Python where practical and explain any dependency. Return: 1. A short design and a file tree. 2. Complete code for every file, with clear filenames. 3. Automated tests covering normal cases, invalid input, empty input, duplicate input and the important edge cases. 4. A requirements file or exact installation commands where needed. 5. Safe configuration instructions using environment variables or placeholders. 6. A runbook for local testing, backup, logging, failure recovery and deployment. 7. A list of assumptions, unresolved questions and risks. Before writing the final code, restate the acceptance criteria as observable checks. Make errors explicit rather than silently ignoring them. Do not claim the code is production-ready. After the code, explain how I can test it with harmless sample data and what a technically experienced reviewer must check before it touches live data.
Open it prefilled in ChatGPT or Claude, or copy it into Gemini, which takes no prefill link.
What it gets wrong
- AI cannot discover undocumented rules in your business or know whether its interpretation matches how staff actually work.
- AI cannot safely supply credentials, inspect every setting in your live systems or guarantee that an integration matches the current service.
- AI-generated tests can repeat the same mistaken assumption as the implementation, so passing tests do not prove the business result is correct.
- AI cannot take responsibility for data loss, a security incident, downtime or an incorrect report.
- AI cannot replace a production review of permissions, dependencies, monitoring, backups and recovery.
What caps this at PARTLY: verification cost, judgement under ambiguity and stakes of error.
How we scored this
Five axes, each scored nought to two by hand: ten means AI carries the task cleanly, and the thresholds that turn a total into YES, PARTLY or NO are published in the methodology. Each axis name links to its definition.
| Axis | Score (0–2) |
|---|---|
| Output | 2 |
| Inputs | 1 |
| Verification | 1 |
| Liability | 1 |
| Effort delta | 2 |
| Total | 7 / 10 |
The methodology and its thresholds are published in full.
FAQ
- Can ChatGPT write Python code for my business?
- Yes, it can draft useful Python scripts, integrations, tests and documentation. The answer is PARTLY because it cannot see your full environment or take responsibility for code that damages data, exposes information or interrupts a business process.
- Is it safe to use AI-generated Python code at work?
- It is safer in a separate development environment with synthetic data, tests and a technical review before deployment. Do not paste secrets or personal data into a chatbot, and do not treat passing generated tests as proof that the business logic or security is correct.
- Can AI automate my business processes with Python?
- It can build much of an automation, such as transforming files, producing reports or connecting documented services. You still need to define the rules, confirm the outputs against known examples and arrange monitoring, backups and recovery for failures.
- Do I need a developer to check Python code written by AI?
- For a disposable script using non-sensitive sample data, you may be able to run basic checks yourself. Anything connected to live systems, personal data, money, access controls or important operations needs a technically experienced reviewer before deployment.
Nearby answers
Assessed by gpt-5.6-luna (gpt-5.6-luna) on 2026-08-13, second-checked by an independent model. Wrong somewhere? Email [email protected] and it gets re-checked.
The newsletter
AI news, new answers and product picks, straight to your inbox.