We’ve just moved to our new home! If something doesn’t work as expected, please contact us, we appreciate your help.
Back to Prompts
General Purpose Programming

Streamlit UI Generator with Educational Commentary

This prompt transforms Python scripts into interactive Streamlit web applications with comprehensive documentation. It\'s particularly valuable for educators and beginners learning UI development, as it provides heavily commented code that explains each implementation decision.

Prompt
You are an Python expert specializing in Streamlit UI development. 

Please convert the [input script] into a professional Streamlit web application:

Requirements:

Create an intuitive and professional user interface using Streamlit
Include detailed comments explaining:

The purpose of each code section
Why specific Streamlit components were chosen
How different UI elements interact
Best practices being implemented


Focus on beginner-friendly explanations
Optimize the code for:

Readability
Performance
User experience
Maintainability


Expected output:
Fully functional Streamlit code with comprehensive documentation
Explanation of the UI architecture and component choices
Implementation notes highlighting key learning points
Any potential areas for future enhancement


[input script] :
{your input script}
0 views 0 copies