hello i would like to load or add urls to my browser so they can open i wold want an import option to import via txt or whatever other format is possible.thank you
how to load urls to browser
Page 1 of 14 Replies - 466 Views - Last Post: 19 January 2012 - 10:10 PM
Topic Sponsor:
Replies To: how to load urls to browser
#2
Re: how to load urls to browser
Posted 16 January 2012 - 09:00 PM
What have you tried so far?
I would suggest looking into open() for reading from a text file and os.system() for opening the web browser.
I would suggest looking into open() for reading from a text file and os.system() for opening the web browser.
#3
Re: how to load urls to browser
Posted 16 January 2012 - 09:36 PM
IVE TRIED THIS
import webbrowser
> > webbrowser.open('www.google.com'
BUT I GE THIS MESSAGE
True
>>> Error showing url: Error stating file '/home/gab/www.google.com': No such file or directory
I MISSED PUTTING THE PARANTHESES AND APOSTROPHE ON PYTHON BUT NO HERE SO THATS NOT THE ISSUE
import webbrowser
> > webbrowser.open('www.google.com'
BUT I GE THIS MESSAGE
True
>>> Error showing url: Error stating file '/home/gab/www.google.com': No such file or directory
I MISSED PUTTING THE PARANTHESES AND APOSTROPHE ON PYTHON BUT NO HERE SO THATS NOT THE ISSUE
#4
Re: how to load urls to browser
Posted 17 January 2012 - 07:11 AM
You'll want to add the "http://" to the front.
#5
Re: how to load urls to browser
Posted 19 January 2012 - 10:10 PM
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|