커뮤니티
포인트
로딩중
쿠폰
내 강의실
국비 신청 내역
수강권
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
mongo db 연결
undefined주차
북마크
김*일
댓글
11
추천
0
조회수
113
조회수
113
답변 완료

mongodb+srv://test:<password>@cluster0.jh15tm9.mongodb.net/?retryWrites=true&w=majority


<password> 자리에 sparta 입력해서 mongodb+srv://test:sparta@cluster0.jh15tm9.mongodb.net/?retryWrites=true&w=majority 라고 완성해도

검사를 하면

File "C:/Users/김경일/Desktop/sprata/pythonprac/dpprac.py", line 2
    client = MongoClient('mongodb+srv://test:sparta@cluster0.jh15tm9.mongodb.net/?retryWrites=true&w=majority
                                                                                                            ^
SyntaxError: EOL while scanning string literal 라고뜨면서 오류가 납니다.
취소
 공유
취소
댓글 0
댓글 알림
나의얼굴