Is there any way I can get an image to play in python with a function? Like I link the Python Code to the site with the picture on it or link it to my documents? I've tried researching it but I've gotten no results and I thought one of you Avid Python Users must know if I can do it. ;)
Norbert X
42
Junior Poster in Training
Recommended Answers
Jump to PostWhat do you mean by "play" ? Are you wanting to have an image pop up in a window or are you talking about playing a video file?
Jump to PostFor that you will need to use a GUI toolkit, have a look at Tkinter, wxPython, or pyQT. They are good ones. We have a whole sticky on learning wx so if you want to learn there are lots of resources here.
Tkinter comes packaged
wxPython can be downloaded from …
All 5 Replies
jlm699
320
Veteran Poster
Norbert X
42
Junior Poster in Training
lllllIllIlllI
178
Veteran Poster
Norbert X
42
Junior Poster in Training
Norbert X
42
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.