일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- IntelliJ
- Android
- Python
- SQL
- es6
- react
- MSSQL
- mapreduce
- vaadin
- plugin
- Sqoop
- R
- Kotlin
- Express
- SSL
- table
- hadoop
- tomcat
- Eclipse
- Spring
- mybatis
- GIT
- Java
- xPlatform
- NPM
- JavaScript
- 공정능력
- 보조정렬
- window
- SPC
- Today
- Total
목록2021/08 (23)
DBILITY

requests Requests is a simple, yet elegant, HTTP library. >>> import requests >>> r = requests.get('https://api.github.com/user', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['content-type'] 'application/json; charset=utf8' >>> r.encoding 'utf-8' >>> r.text '{"type":"User"...' >>> r.json() {'disk_usage': 368627, 'private_gists': 484, ...} #image save imgRequest = requests.get(image..
binary는 mode에 b가 추가 됨 # archive write mode f = open('a.txt', encoding='utf-8', mode='w') f.write('나 --> 언제 왔냐?\n') f.write('너 --> 쪼끔 전에 왔다.\n') f.close() # archive append mode f = open('a.txt', encoding='utf-8', mode='a') f.write('나 --> 뭐하러 왔냐?\n') f.write('너 --> 내비~족구화! 길을 잘못 들어서..\n') f.write('나 --> 머더뻐꾹!\n') f.close() # archive read mode f = open('a.txt', encoding='utf-8', mode='r') w=f.read(..
require가 필요하다. 또는 결과는
dataset을 binding하고, 버튼을 눌렀을때, 가격을 반으로 처리해 보았다. 이게 맞는지는 모르겠다. {{estate.name}} {{new Intl.NumberFormat('ko-KR',{style:'currency', currency:'KRW'}).format(estate.price)}}원 반값할인