1
I’m creating a database which generates tables, but for the graphical part I’m not using any particular bookstore, like Tkinter, but only IDLE and some prompts.
But I would like to improve the menu part of the database. One problem is that when I choose an option, and it is executed, then the prompt is shown again because I use a while loop, which only ends when the user clicks 6. It is possible, for example, to delete the previous menu before displaying the new one?
This is the situation:
Did you try to clean the IDLE screen before reexibiting the menu? Something like: http://stackoverflow.com/questions/1432480/any-way-to-clear-pythons-idle-window or http://stackoverflow.com/questions/517970/how-to-clear-python-interpreter-console
– Luiz Vieira
Well, give it a try that one and that one solutions also (there from the same links). The second is a very well voted very simple hack (which prints a large number of line feeds and makes seem that the screen became clean).
– Luiz Vieira
If it works (or pleases you), don’t forget to post a reply yourself here (of course, quoting the Soen font there). :)
– Luiz Vieira