John_245 0 Newbie Poster

Any WRONG WITH THIS CODE? I AM BEGINNER TO THIS .>>>

#!/use/bin/env python3
import os
import tkinter
import webbrowser
from tkinter import *
from tkinter.filedialog import asksaveasfilename
from tkinter.scrolledtext import ScrolledText
from PIL import Image, ImageTk
from PIL import *

window = tkinter.Tk()
window.geometry("520x800")
window.title("STARLABS BIOSCIENCE SDN BHD")
window.resizable(False, False)
window.config(background="#150051")

MENUBAR = Menu(window)
window.config(menu=MENUBAR)

image = Image.open("s.jpg")
photo = ImageTk.PhotoImage(image)
label = Label(window, image=photo, text="").pack()
venuelabel = Label(window, text="Venue: ", background="#150051", font=("bold", 13,)).place(x=0, y=660)
contactLabel = Label(window, text="Contact: ").place(x=0, y=720)
dateTEXT = Entry(window, width=35, ).place(x=170, y=380)
Venue = ScrolledText(window, width=35, background="#150051").place(x=57, y=660, height=60)
person = Entry(window, width=35).place(x=57, y=720)

# function :
def exitWindow():
    window.destroy()

def save():
    print("save")
    dialogue = image.filename = asksaveasfilename(initialdir="/", title="Select file", filetypes=(
        ('JPEG', ('*.jpg', '*.jpeg', '*.jpe')), ('PNG', '*.png'), ('BMP', ('*.bmp', '*.jdib')), ('GIF', '*.gif')))
    image.save("picture.jpg")

# Add Menu Items:
file_menu = Menu(MENUBAR, tearoff=0)
file_menu.add_cascade(label="Save", command=save)
addon = Menu(file_menu, tearoff=0)
addon.add_command(label="SAVE TO FILE")
addon.add_command(label="Email To")
file_menu.add_command(label="Exit", command=exitWindow)
MENUBAR.add_cascade(label="File", menu=file_menu)

window.mainloop()