On Wed, Nov 02, 2016 at 12:14:50PM +0530, Palanikumar Gopalakrishnan wrote: > Hi Guys, > I recently tested with some code , which open browser > > import webbrowser > webbrowser.open("https://www.google.com") > > After that i want to experiment with webbrowser.os module,
webbrowser.os is just the os module. https://docs.python.org/2/library/os.html https://docs.python.org/3/library/os.html When a module imports another module, say: import os then "os" becomes a top level name, available as webbrowser.os. But you shouldn't use it. Just do "import os" and then use "os" on its own. -- Steve _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor