very novice quesion in linux, how do i load tkinter

ymg800
ymg800 used Ask the Experts™
on
hi

i know that tkinter the GUI for python is installed, but how do i load the program to start?
i dont see any shortcur in linux, how do i start it?

thx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Topic Advisor
Most Valuable Expert 2016
Commented:
Did you try typing tkinter from a console window?

In general: if you don't know where a file or program is, just search for it like this:
cd /
find . -name <file_to_find> -print 2>/dev/null | more

Open in new window

at <file_to_find> type tkinter for example
Top Expert 2011

Commented:
tkinter is a python tk module for GUI.

In your python code, add
------
from Tkinter import *
------

Here is the Tkinter guide:
http://www.pythonware.com/library/tkinter/introduction/

Learn SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Author

Commented:
i get an error that it cant find the module, but it's installed
how come?
Gerwin Jansen, EE MVETopic Advisor
Most Valuable Expert 2016

Commented:
How did you install tkinter?

Here's a 'how to install':
http://tkinter.unpythonic.net/wiki/How_to_install_Tkinter
Top Expert 2011

Commented:
> but it's installed
What Linux distribution do you have?
For Ubuntu, do
sudo apt-get install tkinter

For Fedora/RedHat/CentOS, do (as root)
yum install tkinter

Author

Commented:
i am using CentOS
using yum install it's saying no update is needed
Right, it's normally installed as part of Python.  Something is really wrong if it can't find it.
Just to check the obvious, did you capitalize it correctly?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial