tkinter - How to run python script on atom? -


i'm new using atom , wondering how run python script on it. have code written @ moment works fine in normal python shell, using tkinter, when run through command line, says:

import tkinter tk importerror: no module named tkinter 

how fix this? in environment variables have added python.exe, file directory actual script i'm running , python download itself. how fix this?

the best way load jupyter plugin. it's called hydrogen. under packages menu, can select hydrogen/run , run python code. there keyboard shortcut doing speeds process. can check code write using hydrogen option run line , go next line.

as tkinter problem have loaded tkinter? can using pip install tkinter. after try running code again.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -