会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
cm20121009
博客园
首页
新随笔
联系
订阅
管理
2017年6月8日
get_folder_size.ps1
摘要: function filesize ([string]$filepath) { if ($filepath -eq $null) { throw "路径不能为空" } $hash_size=@{} dir -Path $filepath | ForEach-Object -Process { if ($_.psi...
阅读全文
posted @ 2017-06-08 22:04 cm20121009
阅读(155)
评论(0)
推荐(0)
编辑
2013年12月10日
python3-database-shelve
摘要: #!/usr/bin/pythonimport sys, shelvedef store_person(db): """ Query user for data and store it in the shelf object """ pid = input('Enter unique ID number:') person = {} person['name'] = input('Enter name:') person['age'] = input('Ente
阅读全文
posted @ 2013-12-10 19:22 cm20121009
阅读(222)
评论(0)
推荐(1)
编辑