For an example I have created welcomeGUI.py file with has a simple GUI as follows using Tkinter.
from Tkinter import *
import ttk
class Application():
def __init__(self, master):
frame = Create_widgets(master)
frame.pack()
class Create_widgets(Frame):
def __init__(self, master):
Frame.__init__(self, master)
self.toplabel = Label(master, text="Welcome!", font=('cambria', 20, 'bold'),
fg="white", bg="Midnight Blue")
self.toplabel.pack(fill=X, ipady=100)
statuslabel = Label(master, bg="Midnight Blue")
statuslabel.pack(fill=X)
self.midlabel = Label(master, text="Device ready,connect a flash drive to continue...",
font=('Ubuntu-L', 12), fg= "white", bg="Midnight Blue", anchor="n")
self.midlabel.pack(fill=X, ipady=5)
bottomlabel = Label(master, bg="Gainsboro")
bottomlabel.pack(side=BOTTOM, fill=X)
button1 = ttk.Button(bottomlabel, text="Close")
button1.pack(side=BOTTOM)
#**** Main ****
root = Tk()
root.title("Projector Plus")
root.configure(bg="Midnight Blue")
root.minsize(550, 550)
pro = Application(root)
root.mainloop()
Then I need to create this file that can be installed on Ubuntu(To create an executable file on Ubuntu). In Windows this is done very easily with .exe file(Using cx-Freeze). Really I have no idea about the file system of Ubuntu and shell files.
Please help me to get an idea about this problem. I don't have any idea how to enter this matter.