Spaces:
Runtime error
Runtime error
File size: 717 Bytes
9e0f524 |
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 |
# coding=utf-8
"""
@Author: Freshield
@Contact: yangyufresh@163.com
@File: insert_user.py
@Time: 2023-03-09 22:35
@Last_update: 2023-03-09 22:35
@Desc: None
@==============================================@
@ _____ _ _ _ _ @
@ | __|___ ___ ___| |_|_|___| |_| | @
@ | __| _| -_|_ -| | | -_| | . | @
@ |__| |_| |___|___|_|_|_|___|_|___| @
@ Freshield @
@==============================================@
"""
from lib.MongdbClient import MongodbClient
if __name__ == '__main__':
# 离线添加用户
mongo_client = MongodbClient()
username, password = '', ''
mongo_client.insert_user(username, password)
|