🤑 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

  • 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
    • Community Projects
    • Live Sessions
    • 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
  • Community Projects Live Sessions 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
  • shawn007
    shawn007
    15,408 Points

    Found some non-cleaned up file names

    Posted September 23, 2022 6:58pm 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 February 21, 2020 3:46pm 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 August 28, 2018 2:06am 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 August 25, 2018 2:35am by Rafay Ahmed
    Rafay Ahmed
    956 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Purging

    1 Answer

  • csr13
    csr13
    33,293 Points

    Any advice?

    Posted July 25, 2018 7:56pm 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 June 8, 2018 4:06pm 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 April 8, 2018 5:36am 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 March 30, 2018 2:21pm 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 March 30, 2018 10:06am 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 March 20, 2018 9:19pm 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 November 15, 2017 11:28pm 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 October 4, 2017 2:14am 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 October 4, 2017 1:40am 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 September 5, 2017 12:28am 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.