Last active
May 9, 2019 23:58
-
-
Save marcelo-reis/9837c979ce4678c79d376da720d30b22 to your computer and use it in GitHub Desktop.
Python - Para abrir várias páginas web através da classe "webbrowser" lendo arquivo ".txt" com os endereços
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import webbrowser | |
with open ('.../myscripts/myadress.txt') as f: | |
for url in f.readlines(): | |
webbrowser.open(url) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To open multiple web pages through the "webbrowser" class by reading the ".txt" file with the addresses