• JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroid
    WindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-Bitrix
    LaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows Server
    GitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
  • Ask
  • Leaders

Categories

JavaScriptPHPHTMLCssPythonWordPressWeb developmentLinuxMySQLAndroidWindowsJavaC++ / C#LayoutReactUbuntuYiiDjangoProgramming1C-BitrixLaravelSystem administrationTelegramJSONDebianPostgreSQLIOSGoogleHtaccessWindows ServerGitMacOSGoogle ChromeCMSWooСommerceBootstrapNginxSQLUnityAPI
Programming
JavaScript PHP HTML Css Python WordPress Web development Linux MySQL Android Windows Java C++ / C# Layout React Ubuntu Yii Django Programming 1C-Bitrix Laravel System administration Telegram JSON Debian PostgreSQL IOS Google Htaccess Windows Server
Make a leaderReport
T
T
torchfinger2021-12-14 14:52:55
Python
torchfinger, 2021-12-14 14:52:55

How to empty the trash using Python?

You need to remove a specific file from the trash.

Reply
Answer the question

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Report
S
SHADRIN, 2021-12-14
@shadrin_ss

import os
os.system("rd /s /q %systemdrive%\$Recycle.bin")

Similar questions
A
An34992021-05-06 14:19:16
How to make buttons scroll horizontally if they do not fit into a line on small screens, on nuxt.js + typescript? 5Reply
E
Eugene2015-07-08 14:45:07
Method users.getCallsLeft? 2Reply
B
bQ12019-11-20 12:40:04
How to remove address highlighting in a letter on Yandex mail? 3Reply
A
Artur Lastname2019-11-22 08:32:03
How to disable all OTHER handlers on a js/bitrix element? 3Reply
C
ChernovGV2015-08-13 06:09:59
How to implement adding items with markups to the cart in modx revo shopkeeper 3? 1Reply

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question

banners