mirror of
https://github.com/arsenetar/send2trash.git
synced 2025-07-05 15:03:20 +00:00
--HG-- rename : modules/trash_osx.c => modules/send2trash_osx.c rename : modules/trash_win.c => modules/send2trash_win.c
7 lines
153 B
Python
7 lines
153 B
Python
import _send2trash_osx
|
|
|
|
def send2trash(path):
|
|
if not isinstance(path, unicode):
|
|
path = unicode(path, 'utf-8')
|
|
_send2trash_osx.send(path)
|