I am learnig python for the beginning, I am doing some tutorials and video-tutorials. I am using sublime text 3 for wrinting code and the console of sublimeREPL to run the files and the code. a few days ago I had to search on the web how to make sublimeREPL to run as IDLE 3 runs, and i made it.
The problem right now is that in the lesson i am doing right now they are teaching me how to use tkinter but in the videos the guy codes:
from tkinter import *
colorchooser.askcolor()
and it works, but when i code that , it doesn't work. the error says:
Traceback (most recent call last): File "", line 1, in NameError: name 'colorchooser' is not defined
I need to code :
from tkinter import colorchooser
colorchooser.askcolor()
and it works.
I just need to know why do I have to do it like this?, and why doesn't it work for me in the first way?
I not a English Speaker I tried my best.