umaru-chan | such repo
kandi X-RAY | umaru-chan Summary
kandi X-RAY | umaru-chan Summary
such repo
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of umaru-chan
umaru-chan Key Features
umaru-chan Examples and Code Snippets
Community Discussions
Trending Discussions on umaru-chan
QUESTION
so i made a list and i used tkinter for choosing a random data in list and showing that in a showinfo box. now i was just wondering if its possible to make a random image for random data. for eg i am making a app that generates a random anime name from the list but i want to add the anime picture also is there any way i can do that ? i haven't tried building it but here is what i have made so far.
i have no error i just want to have different picture for different names from the list chose randomly
...ANSWER
Answered 2021-Jan-14 at 09:26Since you want the image to be corresponding to the anime titles I suggest you use a dictionary instead of a list. Also, use Toplevel
widget to display the output.
So here is an example code:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install umaru-chan
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page