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
- amazon q
- ubuntu
- SCALA APP
- tgw
- Transit Gateway
- debug_toolbar
- Spark
- coding with ai
- AI
- pyspark
- debug toolbar
- 툴바안뜸
- VPC
- Amazon
- list
- django
- Eclipse
- AWS
- AWSKRUG
- nosql
- devops
- Python
- git
- json
- django-debug-toolbar
- mcponaws
- MongoDB
- ai assistant
Archives
- Today
- Total
STACKBASE
사이드 프로젝트[001]. Jupyter Notebook에서 mongodb 접속 본문
반응형
1. 실행환경 : 로컬 PC vscode
pip install pymongo
Collecting pymongo Downloading pymongo-3.12.0-cp38-cp38-win_amd64.whl
(397 kB) Installing collected packages: pymongo Successfully installed pymongo-3.12.0
Note: you may need to restart the kernel to use updated packages.
import pymongo
myclient = pymongo.MongoClient('mongodb://몽고디비ID:패스워드@접속IP:27017/')
print(myclient.list_database_names())
['admin', 'config', 'local']
반응형