반응형
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 |
Tags
- Google Spreadsheet
- c#
- Tkinter
- PostgreSQL
- Google Excel
- matplotlib
- hive
- GIT
- list
- SQL
- 파이썬
- numpy
- PANDAS
- django
- PySpark
- Excel
- Github
- math
- gas
- Kotlin
- Java
- array
- string
- Redshift
- google apps script
- Apache
- Python
- Presto
- dataframe
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