I want to make a py-file by GUI. The GUI I want is based on web-browser (chrome, safari). So I use Django.
The step-by-step idea is: 1. I open the web-browser (as GUI, not to access internet). On the web-browser, there are two blanks and a "Generate" button, like a = ?? filename = ?? "Generate" (Here ?? is blank waiting for filling.) 2. I fill like: a = [1,2,3,4], and filename = MyFile 3. Click the "Generate" button Then A py-file "MyFile.py" is generated in an aimed folder. In the file, there is a python code a = [1,2,3,4] 4. I plot a figure by import matplotlib.pyplot as plt plt.plot(a,a) It will generate a figure. I want this figure to be shown on the web-browser. I am using Python 3. Can you please show me how to do the 4 steps with Django? Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d4a8bc37-a838-40a1-ac21-48ebd335d8d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

