<filename>stockMongoDB/mmdb/initDB.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019-07-04 17:26
# @Author  : minp
# @contact : <EMAIL>
# @Site    : 
# @File    : initDB.py
# @Software: PyCharm

import pymongo

myclient = pymongo.MongoClient("mongodb://localhost:27017/")

<filename>stockMongoDB/mmdb/initDB.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2019-07-04 17:26
# @Author  : minp
# @contact : <EMAIL>
# @Site    : 
# @File    : initDB.py
# @Software: PyCharm

import pymongo

myclient = pymongo.MongoClient("mongodb://localhost:27017/")

#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time    : 2019-07-04 17:26 # @Author  : minp # @contact : <EMAIL> # @Site    : # @File    : initDB.py # @Software: PyCharm