Hello,
For a Django project i’m reading two XML files with an external python script to generate some results.
For now, these results are in the form of a list of “strings”, like the lines of a text file.
I did it this way because i would like to generate a real text file but the only option i know is by opening it in the script, write lines then close it, and with this way at the end of the program i’ll already have the file saved somewhere in the project’s folders.
What i would like is to open to the user a “save as” file dialog, so he can choose the name and the location of the texte file.
How do you think i can do this ? or do you think of a other, more proper way ?
Thank you !