IDLE and tkinter tutorial

by: Py_learner, 6 years ago


I was learning tkinter tutorial  'making window and adding button' when I finished functions and run, there appeared new IDLE file instead of new window and repeated several times like that and now my IDLE  and other python files don't work (open), when I enter IDLE it says ' IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or...... ' what can I do now? I have all tutorial files but can open  none of them.



You must be logged in to post. Please login or register an account.



I recommend that you use PyQt instead, Tkinter is very hard and not fun to use at ALL. Get the designer and everything for PyQt, and your life has become 1000x easier.

-GBC_2015 6 years ago

You must be logged in to post. Please login or register an account.


But how can I fix it now ? My IDLE  is not responding

-Py_learner 6 years ago

You must be logged in to post. Please login or register an account.

Fixed:
25.5.3.2. Startup failure
A common cause of failure is a user-written file with the same name such as a standard library module, such as random.py and tkinter.py. When such a file is located in the same directory as a file that is about to be run, IDLE cannot import the stdlib file. The current fix is to rename the user file.

-Py_learner 6 years ago

You must be logged in to post. Please login or register an account.


ah

-GBC_2015 6 years ago

You must be logged in to post. Please login or register an account.