atom-community / atom-script

:runner: Run ( scripts | selections | source ) in Atom
https://atom.io/packages/script
MIT License
733 stars 269 forks source link

Issues with Python Tkinter/tkinter GUI library #1575

Open tushar-shrmaa opened 6 years ago

tushar-shrmaa commented 6 years ago

First of all i want to tell about the system i am using, i am using linux mint as my primary OS on which i have installed Atom Editor and found it as one of the most amazing and most customizable Editor, then i found that by adding some packages we can extend its features to that of a full fledged IDE. So i added some of the best packages for Python Language, this is the language that i am presently preferring for all my development works and programming. So Atom was working like a charm and i was very happy with it until i found a serious issue with Python GUI library Tkinter\tkinter, for info i waana tell i have properly installed Python Language in my system and Also Tkinter and is working fine via terminal, no issues. But terminal is not something i find suitable for doing Python things and Now i am sad and have to switch to other IDE. I know you guys here have put a lot a effort to develop this amazing and beautiful software, so I am raising this issue in front of you so you make this software more robust, bug-free and more powerful in future. I Love Atom. Thanks Team Atom. tkinter_test

MrSimmmons commented 6 years ago

do from Tkinter import * instead of from tkinter import *

Im not sure why, but when using python 3, the import for tkinter is set to the python 2.7 way. I have no idea why, but using Tkinter instead of tkinter works for me. it just means that if you are going to run it code anywhere else you need to change it back to tkinter