반응형
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
- SQL
- numpy
- google apps script
- c#
- Google Spreadsheet
- math
- list
- Kotlin
- Github
- Tkinter
- django
- Google Excel
- PANDAS
- 파이썬
- Java
- PySpark
- string
- PostgreSQL
- Redshift
- Mac
- array
- dataframe
- Excel
- Python
- Apache
- gas
- matplotlib
- GIT
- hive
Archives
- Today
- Total
목록Python으로 QR Code 생성 (1)
달나라 노트

Python에서는 굉장히 간단하게 URL을 QR Code로 전환시켜주는 library가 있습니다. 이것을 한번 알아보죠. pip install qrcode 먼저 qrcode library를 설치해줍시다. import qrcode url = 'https://www.google.com' qr_img = qrcode.make(url) qr_img.save(stream='qr_code.png') 위 코드를 실행하면 qr_code.png라는 이미지 파일이 생성되며 그 파일은 아래와 같습니다. QR Code를 카메라로 비추면 www.google.com으로 이동됩니다. 굉장히 간단하죠? pip install pyqrcode 이번에는 pyqrcode라는 library를 이용해봅시다. pip install pypng 이..
Python/Python ETC
2021. 11. 11. 00:27