欢迎来到银盒子的世界~
访客留言,请填写正确的邮箱地址,我看到留言后,会邮箱回复。
大家好,欢迎来到银盒子的世界!
这是银盒子自己建的博客,各位都来发言吧!!
pip freeze > requirement.txt
pip install -r reqirements.txt
pip list --format=freeze > requirements.txt
源类型是decimal,要去掉小数后边不需要的0,先要转换类型成float,然后是下边的
price=8.0
price = float(price)
a = [str(price), int(price)][str(price)==price]
或者是
a = '{:g}'.format(price)
git reset --hard HEAD~
查看当点目录下,文件的大小
du -h –max-depth=1 *
文章评论
发布于 2019-06-13 18:17:13 回复
发布于 2019-09-06 14:50:27 回复
发布于 2019-09-06 15:36:19 回复
发布于 2020-09-02 15:57:15 回复