get_save_filename_input(prompt, ext='', default_name='')¶
get_save_filename_inputprompts the user for a file name to save as, optionally providing a file extension and default_name.
- Note: This API function differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line
- a simple text prompt is used. The UI uses the native window pop-up for file selection.
>>> get_save_filename_input("filename:", "exe", "foo.exe") filename: foo.exe 'foo.exe'