mirror of
https://github.com/metafy-social/python-scripts.git
synced 2025-03-16 02:29:53 +00:00
7 lines
186 B
Python
7 lines
186 B
Python
import winshell
|
|
try:
|
|
cmd = winshell.recycle_bin().empty(confirm=False, sound=True)
|
|
print("Recycle bin is emptied now !")
|
|
except cmd:
|
|
print("Recycle bin was already empty !")
|