How To Open External Programs With Tkinter - Python Tkinter GUI Tutorial #74

preview_player
Показать описание
In this video I'll show you how to open external programs in your TKinter app.

Opening external programs is super easy, we'll just use the OS module along with the diledialog widget.

The os module comes with Python by needs to be imported at the top of our app, along with the filedialog widget.
Рекомендации по теме
Комментарии
Автор

▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My YouTube Channel:
▶️ See More At: ✅ Join My Facebook Group:

Codemycom
Автор

why not use str() to fix the problem in 6:15?

merijns
Автор

Hit that like button Python Fans! Great tutorial. Feed the Algorithm!

RyanDanielG
Автор

How can you open another files inside the window you made, like the button, you press it and the app will display next to it (on specific cords)?

olariviitak
Автор

Hello sir at 6:20 can we use a f string?

slayeroff
Автор

Could this be used to open a file using a given application, say to open a .txt file in word

ghaithsmasters
Автор

Hi, in my program when I click at the button "Notepad" it is open a cmd windows under notepad. This It's prevents me from opening another program clicking in a second button while I maintein the notepad opened. How to close the cmd windows to allow to the user open a new window by clicking in one the buttons, while maintein the firts program oppened? Thanks

cezargoncalves
Автор

Sir, I have a dobut.

I have done all the steps that you mentioned in this video. But I got one error that is

'c:/Users/folder' is not recognised as an internal or external command, operable program or batch file.

augustinjoshua
Автор

how would you a program like notepad++. there are ++ in path and the file name

jeffreyclendening
Автор

Hello sir, is it possible to use GUI to open a .py program file and change the address file (ex.video path) then run it? Appreciate your help 🙏🏻

ks.
Автор

Thank you sir for these another awesome video❤❤

mujassimjamal
Автор

Hi, thanks for your video. I was wondering if python tkinter GUI can create a program interface to display other program window. For example, if I use Tkinter GUI to launch the notepad.exe, the notepad is displayed inside of the tkinter GUI with toolbars, instead of opening another window. Please suggest how to develop it. Thank you very much.

AISNomad
Автор

Graet Sir Awesome, Really You are Masical

EngineerToTrader
Автор

hello, well explained as usual but what if I select a file of type scratch in the list and it opens directly in scratch3 for example? thank you

LaurentChastain
Автор

Would like to ask, how do you close a running python file, like those that required you to press Ctrl + C to stop those kind of close

Teedies-ohgi
Автор

What to do if some external apps are causing your app to not respond what to do then ?

PC-xhqp
Автор

I try to run my gui.exe to open someone else's .exe file and it shows failed to execute the exe. The spyder window shows the .exe file is not recognized as an internal or external command. I can open the .exe by double click the icon but can't with the code in my gui. I can run other exe such as Zoom and Teams..dont know why ...

sheilaquan
Автор

Every file says that erno 2 no such file or dir

Skfiehab
Автор

If I wanted to take this further and open a specific program, but instead of opening the application traditionally in its own window, I wanted to open it within the Python GUI Box, how could I do that?
Thanks a lot!

matthewduck
Автор

Thanks for the video, it was really helpful.
I would like to ask; how do you export the input data from tkinter into other external modules?
Thanks for helping

chaimrydlewicz