How to pick a random url from a txt file?

I have a txt file with 30 image urls. I want to pull a random url with the click of a button and add it to a label. How can i do that? Can i also pull urls from a pastebin etc? I am creating a random image generator. But i cant just make 30 text blocks or more when i have more links. Hope you understand Thanks in advance!!

get text from file, make into list by using list from csv row text and use get random data

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.