| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 툴바안뜸
- Spark
- django-debug-toolbar
- VPC
- list
- AWS
- tgw
- AI
- AWSKRUG
- git
- json
- django
- ubuntu
- Python
- pyspark
- nosql
- Transit Gateway
- ai assistant
- MongoDB
- amazon q
- Eclipse
- debug toolbar
- debug_toolbar
- Amazon
- devops
- mcponaws
- SCALA APP
- coding with ai
- Today
- Total
목록전체 글 (35)
STACKBASE
django-debug-toolbar를 설치하고 설정까지 완료하였는데 css,js 파일을 못찾겠다라는 오류가 뜨고, 크롬 개발자 모드에서 봤을때 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec. 이러한 에러가 뜬다면 아래와 같이 조치하면된다. 1. 레지스트리 편집기 > 컴퓨터\HKEY_CLASSES_ROOT.js > Content Type > 값 데이터 > text/plain 에서 text/javascrip..
#1. map 함수 # - 사용이유 # - 기존 리스트를 수정해서 새로운 리스트를 만들때 사용 # - 사용방법 # map(함수, 순서가 있는 자료형) print(list(map(int, ['1', '2', '3']))) items = [' logitecmouse', 'epsol keyboard '] # def strip_all(x): # return x.strip() # items = list(map(strip_all, items)) items = list(map(lambda x: x.strip(), items)) print(items) #filter 함수 # - 사용이유 # - 기존 리스트에 조건을 만족하는 요소만 추출 # - 사용방법 # filter(함수, 순서가 있는 자료형) def func(x):..
#기존 함수 def minus_one(a): return a-1 #람다 함수 lambda a:a-1 print((lambda a:a-1)(10)) #람다 함수 호출방법, 변수에 담아서 호출 minus_one_2 = lambda a:a-1 print(minus_one_2(10)) #람다 함수 if/else 구문 사용 print((lambda a: True if a>0 else False)(-1)) #람다 함수 if/else 구문 사용, 변수에 담아서 호출 lamb2 = lambda a: True if a>0 else False print(lamb2(-3)) 기존 함수 호출방법