LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Reviews Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 02-03-2020, 04:06 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 108,335

Rep: Reputation: 117Reputation: 117
LXer: How to Delete Files and Directories in Python


Published at LXer:

Python has a few built-in modules that allow you to delete files and directories. This tutorial explains how to delete files and directories using functions from the os, pathlib, and shutil modules.

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to Find and Delete Empty Files and Directories on Linux Command Line LXer Syndicated Linux News 0 05-01-2019 11:11 AM
Find the directories which is older than x days delete and zip those directories ramesh pagadala Linux - Newbie 2 08-29-2013 09:17 AM
LXer: How to locate and delete empty files and directories LXer Syndicated Linux News 0 03-24-2013 01:40 PM
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-03-2009 12:56 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration