2017年6月8日
摘要: 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日
摘要: #!/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) 编辑