having trouble executing .py file by double clicking

7 views
Skip to first unread message

Janice Wei

unread,
Jul 17, 2019, 2:51:42 PM7/17/19
to Python Belgian User Group - pyBug
Hey guys! I got stuck on this issue for couple days already. My code is simply:

print("hello world")
output()

This works fine when I double clicked the file.
However, when I have:
import numpy
The window flashes and quit immediately.
If I import tkinter, math, date, it works well though.

Thank you very much!
Reply all
Reply to author
Forward
0 new messages