Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -*- coding:utf-8 -*-
- import webbrowser as w
- pesquisa = raw_input("O que você quer pesquisar? \nDigite aqui: ")
- checar_pesquisa = len(pesquisa)
- if checar_pesquisa <= 0:
- print"Você não digitou nada"
- else:
- if pesquisa >= 1:
- w.open("https://www.youtube.com/results?search_query=%s" % (pesquisa))
- print"Concluimos a tarefa!!!"
Advertisement
Add Comment
Please, Sign In to add comment