コード例 #1
0
ファイル: recycle_bin.py プロジェクト: AtulKumar2/calibre
 def fdo_recycle(path):
     if isbytestring(path):
         path = path.decode(filesystem_encoding)
     path = os.path.abspath(path)
     send2trash(path)
コード例 #2
0
 def fdo_recycle(path):
     if isbytestring(path):
         path = path.decode(filesystem_encoding)
     path = os.path.abspath(path)
     send2trash(path)