Guest User

Untitled

a guest
Feb 27th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. from Tkinter import *
  2. root = Tk()
  3. root.title("Nokia Performance")
  4. root.geometry("583x591+468+158")
  5. root.title("NOKIA _ANSI Performance")
  6. root.configure(borderwidth="1")
  7. root.configure(relief="sunken")
  8. root.configure(background="#dbd8d7")
  9. root.configure(cursor="arrow")
  10. root.configure(highlightbackground="#d9d9d9")
  11. root.configure(highlightcolor="black")
  12.  
  13.  
  14. Label1 = Label(root)
  15. _img1 = PhotoImage(file="C:\Users\vkandhav\Desktop\PY_IMAGE\NOKIA.gif")
  16. Label1.configure(image=_img1)
  17. Label1.configure(text='''Label''')
  18. Label1.pack()
  19.  
  20. Label2 = Label(root)
  21. Label2.configure(text='''Enter the platform :''')
  22. Label2.pack(side=LEFT)
  23.  
  24. Entry2 = Entry(root)
  25. Entry2.pack(side = RIGHT)
  26.  
  27. Label3 = Label(root)
  28. Label3.configure(text='''Device IP Address :''')
  29. Label3.pack()
  30.  
  31. Entry5 = Entry(root)
  32. Entry5.pack()
  33.  
  34. Label5 = Label(root)
  35. Label5.configure(text='''Username :''')
  36. Label5.pack()
  37.  
  38. Label6 = Label(root)
  39. Label6.configure(text='''Label''')
  40. Label6.pack()
  41.  
  42. Label7 = Label(root)
  43. Label7.configure(text='''Craft IP :''')
  44. Label7.pack()
  45.  
  46. Label8 = Label(root)
  47. Label8.configure(text='''GICCI IP :''')
  48. Label8.pack()
  49.  
  50. Label9 = Label(root)
  51. Label9.configure(text='''Password :''')
  52. Label9.pack()
  53.  
  54. Label10 = Label(root)
  55. Label10.configure(text='''STC File Location''')
  56. Label10.pack()
  57.  
  58. Label11 = Label(root)
  59. Label11.configure(text='''STC Port :''')
  60. Label1.pack()
  61.  
  62. Label12 = Label(root)
  63. Label12.configure(text='''STC IP :''')
  64. Label2.pack()
  65.  
  66.  
  67. Entry6 = Entry(root)
  68. Entry6.configure(background="white")
  69. Entry6.configure(foreground="#000000")
  70. Entry6.pack()
  71.  
  72. Entry7 = Entry(root)
  73. Entry7.configure(background="white")
  74. Entry7.pack()
  75.  
  76. Entry8 = Entry(root)
  77. Entry8.configure(background="white")
  78. Entry8.pack()
  79.  
  80. Entry9 = Entry(root)
  81. Entry9.configure(background="white")
  82. Entry9.configure(foreground="#000000")
  83. Entry9.pack()
  84.  
  85. Entry10 = Entry(root)
  86. Entry10.configure(background="white")
  87. Entry10.configure(foreground="#000000")
  88. Entry10.pack()
  89.  
  90. Entry11 = Entry(root)
  91. Entry11.configure(background="white")
  92. Entry11.configure(foreground="#000000")
  93. Entry11.pack()
  94.  
  95. Radiobutton1 = Radiobutton(root)
  96. Radiobutton1.configure(justify=LEFT)
  97. Radiobutton1.configure(text='''NRNT-A''')
  98. Radiobutton1.pack()
  99.  
  100. Radiobutton2 = Radiobutton(root)
  101. Radiobutton2.configure(justify=LEFT)
  102. Radiobutton2.configure(text='''SX-12VP''')
  103. Radiobutton2.pack()
  104.  
  105. Radiobutton3 = Radiobutton(root)
  106. Radiobutton3.configure(justify=LEFT)
  107. Radiobutton3.configure(text='''DX-48''')
  108. Radiobutton3.pack()
  109.  
  110. Radiobutton4 = Radiobutton(root)
  111. Radiobutton4.configure(justify=LEFT)
  112. Radiobutton4.configure(text='''SX-16VP''')
  113. Radiobutton4.pack()
  114.  
  115. Radiobutton5 = Radiobutton(root)
  116. Radiobutton5.configure(justify=LEFT)
  117. Radiobutton5.configure(text='''SX-16F''')
  118. Radiobutton5.pack()
  119.  
  120. Radiobutton6 = Radiobutton(root)
  121. Radiobutton6.configure(justify=LEFT)
  122. Radiobutton6.configure(text='''FX-8''')
  123. Radiobutton6.pack()
  124.  
  125. Button1 = Button(root)
  126. Button1.configure(pady="0")
  127. Button1.configure(text='''NEXT''')
  128. Button1.pack()
  129. mainloop()
Add Comment
Please, Sign In to add comment