linuxabhinav 0 Newbie Poster
url='http://www.google.com'
 webbrowser.open_new_tab(url)

This should open the google.com webpage, but instead it attempts to open :

"file:///u/guest/python/%22http%3A//www.google.com%22

guest is my username, and /u/guest/python is where I execute the script from .


Could you please tell me why this is happening ?

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.