Sunday 21 August 2022

Day 86 : Web Browsing in Python

 

import webbrowser

Url=input("Enter a url : ")

webbrowser.open(Url)


#Open the page in a new browser window.

webbrowser.open_new('Url')


#Open the page in a new browser tab. 

webbrowser.open_new_tab('Url')



#clcoding.com



0 Comments:

Post a Comment

Popular Posts

Categories

AI (1) Android (23) AngularJS (1) Assembly Language (2) book (1) Books (36) C (76) C# (12) C++ (82) Course (51) Coursera (8) Cybersecurity (4) Data Science (19) Data Strucures (4) Deep Learning (4) Django (1) Downloads (3) edx (1) Engineering (13) Excel (1) flutter (1) FPL (17) Google (10) Hadoop (1) HTML&CSS (41) IBM (1) IS (25) Java (90) Leet Code (4) Machine Learning (2) Meta (2) Pandas (2) PHP (20) Projects (26) Python (585) Python Coding Challenge (40) R (69) Selenium Webdriver (2) Software (15) SQL (28)

Followers

Person climbing a staircase. Learn Data Science from Scratch: online program with 21 courses