Member Avatar

Hi everyone, I recently installed Python on Windows. I wanted to develop a gui program using Tkinter. The problem is that when I try to import Tkinter module. It gives me a 'module not found' error. But I thought Tkinter was preintalled within Python's installation. It is even more confusing when I look in the Python modules and see a folder named 'Tkinter'! Please, can someone help me. The python version installed is 3.40 beta 1. Here is the code I am attempting to run.

Member Avatar
+1 forum 4
Member Avatar

So, I'm coding a IDE in Python and I'm using Tkinter for the GUI. What I'm looking for is a way to add a "recent files" menu to the menu that opens when you right click the program's icon in Windows's task bar. I have a picture to show what I'm looking for: [Screen capture](http://i.imgur.com/3HLyPa5.png) Yeah, I want to add a "Recent Files" menu ("Viimeksi k√§ytetyt tiedostot" in finnish) to my program. Some of the texts are in finnish but I hope you get the idea... xD I think that you can do this in Python & Tkinter, because IDLE …

Member Avatar
+0 forum 3
Member Avatar

Hi, I am making a music player in python 2.6 with Tkinter. Here's my code : from Tkinter import * import mp3play import tkFileDialog import Tkinter def open_file(): #Opens a dialog box to open .mp3 file global music #then sends filename to file_name_label. global mp3 global play_list filename.set (tkFileDialog.askopenfilename(defaultextension = ".mp3", filetypes=[("All Types", ".*"), ("MP3", ".mp3")])) playlist = filename.get() playlist_pieces = playlist.split("/") play_list.set (playlist_pieces[-1]) playl = play_list.get() play_list_display.insert(END, playl) mp3 = filename.get() print mp3 music = mp3play.load(mp3) pieces = mp3.split("/") name.set (pieces[-1]) def play(): #Plays the .mp3 file music.play() def stop(): #Stops the .mp3 file music.stop() def pause(): #Pauses or …

Member Avatar
+0 forum 1
Member Avatar

Hi Everyone, I need some help in Tcl Tk Gui Application Development. In that GUI i need 2 drop down lists 1) Subject : , so here a list of subjects will be present 2) Assignment : , So here depending upon the subject again a list of assignments related to that subject should be there After selecting both , based on the selection i need to perform some linux commands in the directory in which this GUI is invoked. I am attaching the sample GUI image to clarification Thanks Srikanth M.

+0 forum 0

The End.