0

I followed this post to write a simple gui program in my Spyder IDE on anaconda environment.I am using python 3.7. I used below code :

from tkinter import Tk
from tkinter.filedialog import askopenfilename

Tk().withdraw() 
filename = askopenfilename() 
print(filename)

and

import easygui
print easygui.fileopenbox()

Both of the code seems to run indefinitely and doesn't open any window. Am i missing something? Is it even possible to make a gui program on anaconda environment?

Anudocs
  • 686
  • 1
  • 13
  • 54

0 Answers0