Tkinter python 3 problem of Deleting an file or item | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Tkinter python 3 problem of Deleting an file or item

I am making a GUI program through which I can delete any file. I first encountered Entry error but now it's fine. Here are still some problems I am still encountering:- ✓ I can only delete items when the .py program is in the same directory of the file needed to be removed. ( BY os.remove) ✓ Whenever I use other functions to refer any directory it just says NameError even though I write it correct ✓ Big problem is ACCESSIBILITY, I try to delete files and sometimes it says "permission denied" Although it can be deleted if I took program there and executed it in that directory. THIS IS AN UPDATE AS WELL AS MORE EXTENDED. I would like to see the short program on how you can tackle those problems ( it should contain buttons and Entry) Of course this would not work in soloLearn And if this question is not understood then type in answer "not understood" I would extend explaining the question. Thanks for reading😊.

3rd Apr 2020, 7:15 PM
Mirza Ishan Beg
Mirza Ishan Beg - avatar
2 Answers
+ 1
Not understood
7th Apr 2020, 1:26 PM
Muhammad Saood Sarwar
Muhammad Saood Sarwar - avatar
+ 1
Alright here is extended and update on this question
8th Apr 2020, 9:45 AM
Mirza Ishan Beg
Mirza Ishan Beg - avatar