The only thing, you did not demonstrate step by step , how to save and invoke the png images. The script keeps returning error, in run time. Can’t find the files or directories. Despite , putting the code and images in the same path. Will keep trying!!!!
Bro i just don't have any words to thank you ❤️ Your doing such a very good and impressive job by providing courses of programming language So the needy's can acces.. I just wanna thank you for helping us all 👍 Keep growing up, Soon you will have more than 10million subs 🥺
amazing content! I'm learning python step by step with you and I'm already able to create a script that has been used by other people at my job! thanks a lot!
Hello, it's a pleasure to watch your videos. Also, I have a question? how to put an image in the menu bar in Tkinter "Python" instead of putting for example: ""Exit" I want to replace and put an image instead.
Very useful and educative video. Thanks for your efforts. Can you advise how to run a python script from a menu button click. iam building a small application. i have coded and tested the 5 pysimplegui scripts but need to pull them together and run from menu button click. Any suggestions
from tkinter import *
def openFile():
print("File has been opened!")
def saveFile():
print("File has been saved!")
def cut():
print("You cut some text!")
def copy():
print("You copied some text!")
def paste():
print("You pasted some text!")
window = Tk()
openImage = PhotoImage(file="file.png")
saveImage = PhotoImage(file="save.png")
exitImage = PhotoImage(file="exit.png")
menubar = Menu(window)
window.config(menu=menubar)
fileMenu = Menu(menubar,tearoff=0,font=("MV Boli",15))
menubar.add_cascade(label="File",menu=fileMenu)
fileMenu.add_command(label="Open",command=openFile,image=openImage,compound='left')
fileMenu.add_command(label="Save",command=saveFile,image=saveImage,compound='left')
fileMenu.add_separator()
fileMenu.add_command(label="Exit",command=quit,image=exitImage,compound='left')
editMenu = Menu(menubar,tearoff=0,font=("MV Boli",15))
menubar.add_cascade(label="Edit",menu=editMenu)
editMenu.add_command(label="Cut",command=cut)
editMenu.add_command(label="Copy",command=copy)
editMenu.add_command(label="Paste",command=paste)
window.mainloop()
The only thing, you did not demonstrate step by step , how to save and invoke the png images. The script keeps returning error, in run time. Can’t find the files or directories. Despite , putting the code and images in the same path. Will keep trying!!!!
you have to save the png files on the same directory of your script.
@@eissamohamed7584
same problem faced by me ?? What to do ?? @BroCodez @@eissamohamed7584
Bro i just don't have any words to thank you ❤️
Your doing such a very good and impressive job by providing courses of programming language
So the needy's can acces..
I just wanna thank you for helping us all 👍
Keep growing up,
Soon you will have more than 10million subs 🥺
Dang!! I can't say "thank q" enough. Love u man and I will be your follower from now on. Cant wait for new course
Brooo when i have a question you upload a video on that ahaha. A huge thank you, really.
haha yeah that happens sometimes lol
amazing content! I'm learning python step by step with you and I'm already able to create a script that has been used by other people at my job! thanks a lot!
Thanks Bro! This video was really helpful!
it sounds so cute when you says "hey you! yeah I'm talking to you..." 😅
Hello, it's a pleasure to watch your videos. Also, I have a question? how to put an image in the menu bar in Tkinter "Python" instead of putting for example: ""Exit" I want to replace and put an image instead.
I have a question please : how can we resize the images so they appear correctly once we run the program ?
Thanks for video!
Ayo great video as usual 😂
Amazing tutorial thank you so much.
Very useful and educative video. Thanks for your efforts. Can you advise how to run a python script from a menu button click. iam building a small application. i have coded and tested the 5 pysimplegui scripts but need to pull them together and run from menu button click. Any suggestions
❤
Show de bola kkk conteúdo de qualidade
i droped a comment, smashed the like button, AND subscribed to become a bro
great as always !!! thx
Thank you
nice!
Grateful 🙏
Thanks Bro 👌
Thanks Bro!.
You're welcome Lucy!
How to create a menu bar in form border using python, just like in visual studio, pycharm, adobe photoshop applications
Wow!
Ty bro!
Goog
Good day how to do for showing rectangles ovals when tapping the menu
Thanks (;
can you link the images you used?
Thanks
How do I make the menubar be in a file other than main.py and import it into the main file.
why do we do it this way instead of packing it like the other gui items?
Hi when I try to add an image to menu just like you I don't get any error but the sub menu don't appear .
Sorry I was making a mistake with variable now it works , thanks
meow meow meow~!
every time i add imaged to my widows it doesnt work! the images become giant
I'm having a problem uploading pictures into pycharm
How to open file from the Menubar .
hey world 🖐🏼
only for me this doesn't work on macOS?
me too, have you found a solution yet?
Oh i figured it out, it does work. but the menu appears in the actual apple menu on the top
@@bowenliu4100 no, I switched to JavaScript 😄
@@bowenliu4100 oh i couldn't get what i was doing wrong, but it just appears on the top menu! thank you!
comment
Bruh
bro