![]() |
|
[Python] Clean your desktop! - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Python] Clean your desktop! (/showthread.php?tid=5743792) |
Clean your desktop! - inv3ctus - Oct 27, 2017 Code import osThis code makes a folder on your desktop with all the files and folder that are currently on your desktop, except for the shortcuts! Perfect for keeping your computer organized! RE: Clean your desktop! - vaxton - Oct 27, 2017 i just tried it out and it worked! thank you so much for this share :) RE: Clean your desktop! - adnankatman - Oct 27, 2017 Awesome, saved to my python_utils folder! RE: Clean your desktop! - vorticalbox - Oct 28, 2017 This will only work on windows, for us Linux folk the desktop folder is ~/Desktop RE: Clean your desktop! - inv3ctus - Oct 28, 2017 (Oct 28, 2017 02:27 AM)vorticalbox Wrote: This will only work on windows, for us Linux folk the desktop folder is ~/Desktop Oh yeah, should have said that! But feel free to edit the code! RE: Clean your desktop! - vorticalbox - Oct 28, 2017 (Oct 28, 2017 02:56 AM)₱yAssassin Wrote: Oh yeah, should have said that! But feel free to edit the code! totally would but currently doing a coding challenge for a job in node.js. only started learning it last week and man this shit is confusing, EVERYTHING is async and you have to be so carful when processing stuff lol |