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
- debug toolbar
- AWSKRUG
- coding with ai
- json
- devops
- list
- ubuntu
- git
- Amazon
- MongoDB
- AWS
- Spark
- SCALA APP
- tgw
- nosql
- pyspark
- Python
- AI
- 툴바안뜸
- mcponaws
- debug_toolbar
- django
- ai assistant
- amazon q
- Eclipse
- Transit Gateway
- django-debug-toolbar
- VPC
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']
반응형