I've recently delved into Tkinter, and am trying to develop a simple notepad. The only problem s that it has problem saving files. Here's my code for saving:
Doesn't tkinter's (never even heard of it) exceptions carry information? in PHP you can throw exception objects that carry the file and line number where it occured as well as a programmer defined text and an error code. In C++ you have to throw any kind of value (e.g. an integer). Isn't there something alike in tkinter?
I don't think so, but I did manage to fix it. However, I have run into another problem: Whenever I click "Save", no matter what, it takes me to the "Save As..." function; even if the file is already set. Here's my 2 new functions:
You do not have permission to post replies to topics in this board. If you want to join in with discussions and create new topics please register. If you want to register your own free account with us, please click here.
Not enough time to do something productive I run out of ideas Too hard to show people my creations Everything i do has too many errors, and it's too hard I don't get bored!!!
please login to cast your vote and see the results of this poll