On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

EvanJordan

1
Posts
1
Topics
A member registered Feb 07, 2020

Recent community posts

(1 edit)

I'm learning HTML and currently using Python to create and upload a "blogpost" for an assignment. I need to prompt the user to pick a file from their computer and then create a hyperlink for the user to download the file. I have the majority done, but when I run the program, all it does is say where the file is located instead of creating a dow https://myip.kim/ nloadable hyperlink; How do I prompt the user to pick a file from their machine, and then create a hyperlink to download that file for a website?

 What I have right now is this: postFile = pickAFile(), which just lets the user choose a file https://birthdaywishes.onl/  from their machine. After that, file.write("""<a href="./reports/"""+postFile+"""">"""+postF https://elecpay.in/tneb/ile+"""</a>""") This is supposed to create a hyperlink for users that visit the web page so that they can download the file that the user picked, but instead it just says the file location and can not be downloaded as far as I can tell.