Python
|ChuckChen|
本博客为记录作者平时测试与学习笔记,并分享给大家。专注原创。希望可以带给大家一些技术上的分享。
本博客仅作者本人所有, 与 AWS 官方没有任何关联。所有言论也仅代表作者本人。
展开
-
通过 python 生成随机数据,并批量插入到 Amazon DocumentDB (或mongodb) 中
通过 python 生成随机数据,并批量插入到 Amazon DocumentDB (或mongodb) 中。Python 生成随机数据。 使用 random。 例如: 随机整数 (0 - 999999) 随机选择一个 item 随机字符串 生成想要的数据格式(json) 链接 DocumentDB,插入批量数据 把以上连起来的最终代码原创 2022-12-03 22:28:01 · 708 阅读 · 1 评论 -
python - click - 命令行交互
click包,非常简单的命令行交互的包。 Click is a simple Python module inspired by the stdlib optparse to make writing command line scripts fun. Unlike other modules, it’s based around a simple API that does not come w...原创 2019-11-08 18:43:48 · 658 阅读 · 0 评论