Generate python code for the requirements with out any explanation or extra text. Can use comments. The code should be ready to be executed. Try to use external libraries where possible .
Install Prompt
Add this prompt to your Amazon Q CLI prompt library:
1. Download to local prompt library:
mkdir -p .amazonq/cli-prompts && curl -o .amazonq/cli-prompts/python-code-for-external-libraries.md https://promptz.dev/prompts/code-generation/python-code-for-external-libraries/2. Use with Q CLI:
q prompts use python-code-for-external-libraries