I would like to place a value in the file dialog by default when the user is saving a file. Anyone can advise the syntax of it ?
saveFilePath = fileDialog.asksaveasfile(mode='w', title="Save the file", defaultextension=".txt")
For example: NewFile should be filled in when the file dialog is open
initialfile
as proposed by Bryan Oakley worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With