반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- gas
- google apps script
- Apache
- Google Spreadsheet
- django
- Python
- Redshift
- SQL
- c#
- math
- list
- PySpark
- array
- GIT
- hive
- 파이썬
- string
- Java
- Google Excel
- numpy
- PostgreSQL
- dataframe
- Tkinter
- Mac
- Github
- PANDAS
- Kotlin
- Excel
- matplotlib
Archives
- Today
- Total
달나라 노트
Python webbrowser : open url on web browser 본문
Python/Python webbrowser
Python webbrowser : open url on web browser
CosmosProject 2020. 12. 22. 23:34728x90
반응형
webbrowser library makes it possible for us to open url on your browser.
import webbrowser
url = 'https://www.google.com'
webbrowser.open(url, new=1)
The above code will open google in your base web browser.
new = 0 -> open url in the same browser window.
new = 1 -> open url in a new browser window.
new = 2 -> open url in a new browser tab.
728x90
반응형
Comments