0
print('-----')
print('SITES')
print('-----')
print()
print()
print('Duolingo Brasileiro')
print('Duolingo Inglês')
print('Duolingo Alemão')
escolha_site = str(input('Escolha qual versão do site do duolingo deseja acessar: '))
if escolha_site == 'Duolingo Brasileiro':
print('https://pt.duolingo.com/')
elif escolha_site == 'Duolingo Inglês':
print('https://en.duolingo.com/')
elif escolha_site == 'Duolingo Alemão':
print('https://de.duolingo.com/')
What I want to do is that when the user wishes to access such site, after he chose, he could click on the link, and would be redirected to the default PC browser, in my case is Chrome. I’m not an advanced/intermediate python user, but I already see the need to learn a little about how to work the web with python. Remembering that these "duolingos", are only for examples, I could have used other sites as example. Sorry for any formatting error! I’m still new here and I have a lot of work to put the code, I have to keep giving spaces... anyway, I don’t know how to move much here. I used "print" only to give an even interpretation, because, I do not know with which command or module I will need to use to make the link clickable..
This program is running on the same terminal?
– Woss
No, I’m running on python’s own IDLE. I want to make the link clickable, remembering that PRINT is just an example, I do not know which command turns the link clickable, to run in the browser.
– BRKappa