✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
    • Showing results for:
    • Python
    • Python for File Systems
    • Manipulation
    • Purging
    • Close
  • shawn007
    shawn007
    15,408 Points

    Found some non-cleaned up file names

    Posted on Sep 23, 2022 by shawn007
    shawn007
    15,408 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Albert Egberg
    Albert Egberg
    7,786 Points

    Can someone explain to me what I am doing wrong with my code?

    Posted on Feb 21, 2020 by Albert Egberg
    Albert Egberg
    7,786 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Rafay Ahmed
    Rafay Ahmed
    956 Points

    I don't understand this?

    Posted on Aug 28, 2018 by Rafay Ahmed
    Rafay Ahmed
    956 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    2 Answers

  • Rafay Ahmed
    Rafay Ahmed
    956 Points

    Hi, I dont know what I'm doing wrong

    Posted on Aug 25, 2018 by Rafay Ahmed
    Rafay Ahmed
    956 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • csr13
    csr13
    33,293 Points

    Any advice?

    Posted on Jul 25, 2018 by csr13
    csr13
    33,293 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Christopher Bailey
    Christopher Bailey
    14,880 Points

    am i missing something...

    Posted on Jun 8, 2018 by Christopher Bailey
    Christopher Bailey
    14,880 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • K.D. Harris
    K.D. Harris
    11,223 Points

    Stuck on the purging objective

    Posted on Apr 8, 2018 by K.D. Harris
    K.D. Harris
    11,223 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Dean Pierrot
    Dean Pierrot
    18,403 Points

    Need Help

    Posted on Mar 30, 2018 by Dean Pierrot
    Dean Pierrot
    18,403 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Gavin Schilling
    Gavin Schilling
    37,904 Points

    TypeError

    Posted on Mar 30, 2018 by Gavin Schilling
    Gavin Schilling
    37,904 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    0 Answers

  • Abdulaziz Abdullah
    PLUS
    Abdulaziz Abdullah
    Courses Plus Student 669 Points

    Make a function named delete_by_date. It should take date string like 2015-10-31 and delete any files in the "backups" l

    Posted on Mar 20, 2018 by Abdulaziz Abdullah
    Abdulaziz Abdullah
    Courses Plus Student 669 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    2 Answers

  • Julian Nash
    Julian Nash
    6,811 Points

    Help with delete_by_date. Works fine on my local machine. TypeError: remove: illegal type for path parameter in the Tree

    Posted on Nov 15, 2017 by Julian Nash
    Julian Nash
    6,811 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    2 Answers

  • Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points

    Cant Proceed

    Posted on Oct 4, 2017 by Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    2 Answers

  • Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points

    Make a function named delete_by_date. PYTHON FOR FILE SYSTEMS

    Posted on Oct 4, 2017 by Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • Robert Bird
    Robert Bird
    26,122 Points

    This is for the purging python challenge in Python File System. Not really sure why this answer is not working.

    Posted on Sep 5, 2017 by Robert Bird
    Robert Bird
    26,122 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.