250x250
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
- async/await
- wecode
- TypeError: this.boardRepository.createBoard is not a function
- status code
- Django
- crud2
- CORS
- manytomanyfield
- westagram
- javascript
- OSI7계층
- nodeJS
- on_delete
- 노드
- 트랜잭션
- 자바스크립트
- 실행 컨텍스트
- 스코프
- bcrypt
- 호이스팅
- Jest
- typescript
- 장고초기세팅
- pm2
- 프로미스
- JWT
- rebase
- docker
- node
- django westagram
Archives
- Today
- Total
목록패키지 (1)
될때까지

### 과제 ### 1. sys.modules 와 sys.path의 차이점을 서술해 주세요. import sys print(sys.path) # str이 담긴 리스트로 출력된다. print(sys.modules) # 딕셔너리 구조로 출력된다. sys.modules 파이썬이 모듈이나 패키지를 찾기 위해 가장 먼저 확인하는 곳 딕셔너리 구조 이미 import된 모듈과 패키지들을 저장하고 있음 새로 import하는 모듈은 sys.modules에서 찾을 수 없음 sys.path 가장 마지막으로 확인하는 장소 리스트 구조며 string요소들을 가지고 있음 sys.path에서도 모듈을 발견하지 못하면 ModuleNotFoundError를 리턴함 => sys.modules는 제일 먼저 찾는 곳이고 (그 다음에는 파이..
프로젝트/wecode
2022. 6. 25. 17:12