Advertisement
pleabargain

i tried calling a python script called tkinter.py

Apr 29th, 2013
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #i tried calling a python script called tkinter.py!
  2. #doh!
  3. idle-python3.2
  4. Traceback (most recent call last):
  5. File "<string>", line 1, in <module>
  6. File "/usr/lib/python3.2/idlelib/run.py", line 10, in <module>
  7. from idlelib import CallTips
  8. File "/usr/lib/python3.2/idlelib/CallTips.py", line 13, in <module>
  9. from idlelib import CallTipWindow
  10. File "/usr/lib/python3.2/idlelib/CallTipWindow.py", line 7, in <module>
  11. from tkinter import *
  12. File "tkinter.py", line 2, in <module>
  13. tk = Tk()
  14. NameError: name 'Tk' is not defined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement