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!!!!
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!
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 🥺
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
finally some tkinter tutorials who dont just tell about how sad their life is
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!
Brooo when i have a question you upload a video on that ahaha. A huge thank you, really.
haha yeah that happens sometimes lol
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
Thanks Bro! This video was really helpful!
it sounds so cute when you says "hey you! yeah I'm talking to you..." 😅
I have a question please : how can we resize the images so they appear correctly once we run the program ?
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 🥺
BROS A GIGA CHAD I PYTHON TUTORIALS
Ayo great video as usual 😂
Amazing tutorial thank you so much.
Thanks for video!
can you link the images you used?
i droped a comment, smashed the like button, AND subscribed to become a bro
How do I make the menubar be in a file other than main.py and import it into the main file.
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.
Show de bola kkk conteúdo de qualidade
Good day how to do for showing rectangles ovals when tapping the menu
every time i add imaged to my widows it doesnt work! the images become giant
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
great as always !!! thx
why do we do it this way instead of packing it like the other gui items?
How to create a menu bar in form border using python, just like in visual studio, pycharm, adobe photoshop applications
Grateful 🙏
How to open file from the Menubar .
Thanks Bro 👌
I'm having a problem uploading pictures into pycharm
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
Dropping comment down below.
Thank you
Thanks Bro!.
You're welcome Lucy!
nice!
🎉
Goog
❤
Thanks
Can someone buy me a laptop?😂
Ty bro!
Wow!
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!
Thanks (;
meow meow meow~!
comment
Bruh
bro