コード例 #1
0
def instagram_info(self, text, navself, topFrame):
    switch(navself, topFrame, btnState=True)
    # lookup.destroy()
    instagram_info = Toplevel(self)
    instagram_info.title("Instagram Lookup")
    instagram_info.config(bg="grey17")
    instagram_info.geometry("700x350+200+200")
    instagram_info.maxsize(600, 300)
    instagram_info.minsize(600, 300)
    l = Label(instagram_info,
              text="USERNAME:"******"black",
              fg="Grey",
              font=("comicsansms", 16, "bold"),
              relief=FLAT).place(x=60, y=60)
    instaprofile = Entry(instagram_info,
                         relief=FLAT,
                         font=("comicsansms", 20, "bold"))
    instaprofile.place(x=290, y=60)
    btn = Button(instagram_info,
                 text="Search",
                 font="BahnschriftLight 15",
                 bg="gray17",
                 fg="white",
                 activebackground="gray17",
                 activeforeground="green",
                 bd=0,
                 command=lambda: searchInstagram.searchInstagram(
                     self, instagram_info, instaprofile.get(), text)).place(
                         x=120, y=200)
    instagram_info.mainloop()
コード例 #2
0
				elif lookup.lower() == '3':
					searchAdresse(codemonpays)
				elif lookup.lower() == '2':
					searchUserName()
				elif lookup.lower() == '10':
					google()
				elif lookup.lower() == '9':
					employee_lookup()
				elif lookup.lower() == '8':
					mailToIP()
				elif lookup.lower() == "11":
					facebookStalk()
				elif lookup.lower() == "12":
					searchTwitter()
				elif lookup.lower() == "13":
					searchInstagram()
				elif lookup.lower() == "b":
					clear()
					menu()
					print(mainOption)
					break
				elif lookup.lower() == "c":
					clear()
					menu()
					print(lookupOption)
				elif lookup == '':
					pass
				elif lookup.lower() == "e":
					sys.exit("\n"+information+" Bye ! :)")
				else:
					pass