Python Forum
[Tkinter] File Chooser will not close
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tkinter] File Chooser will not close
#11
(Aug-09-2023, 02:08 PM)noob82 Wrote:
(Aug-07-2023, 02:25 PM)deanhystad Wrote: I don't understand what this means:
What is the "In [2]"?

Have you run you code from the command line?

sorry the In[2] is just the line number in my output window. So when I execute code the output line is displayed as " ln [number]". I just copied the output directly as it appeared in the window. But all am doing here is creating the variable "path" and assigning it to the value that is extracted using the "filedialog.askopenfilename()" function. In this case it would be something like "C:/user/documents/test.xlsx".

when I run it in the cmd prompt it runs but it outputs the same thing. Put am able to enter code in between which is different than in Spyder. Also I tried it the same code in Jupyter Notebooks and Netbeans and it works just fine without the additional outputs or bogging down.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020