✨ 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
    • Daily Backup
    • Close
  • Kamaren McCord
    Kamaren McCord
    11,236 Points

    year-month-day formatting not working

    Posted on Jun 13, 2023 by Kamaren McCord
    Kamaren McCord
    11,236 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    quiz help: passing various date formats to return a file path described by a date format

    Posted on Jul 9, 2021 by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • Thapelo Mokgwaphe
    Thapelo Mokgwaphe
    5,892 Points

    help, i don't know whats wrong with the code

    Posted on Oct 21, 2019 by Thapelo Mokgwaphe
    Thapelo Mokgwaphe
    5,892 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • jdee
    jdee
    6,655 Points

    help

    Posted on Oct 9, 2019 by jdee
    jdee
    6,655 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    3 Answers

  • ben lewin
    ben lewin
    11,495 Points

    What is wrong with the following?

    Posted on Nov 25, 2018 by ben lewin
    ben lewin
    11,495 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • Karen Shumate
    Karen Shumate
    13,579 Points

    that by calling create_daily_dir("04-22-2017"), we'd have a directory structure like financial/2017-04-22/.

    Posted on Sep 22, 2018 by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • Karen Shumate
    Karen Shumate
    13,579 Points

    Create a function named create_daily_dir in backup.py. This function should take a string which will be a date in either

    Posted on Sep 22, 2018 by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    0 Answers

  • Karen Shumate
    Karen Shumate
    13,579 Points

    create_daily_dir("04-22-2017"), we'd have a directory structure like financial/2017-04-22/.

    Posted on Sep 22, 2018 by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    0 Answers

  • Alexander Vishnyakov
    Alexander Vishnyakov
    8,620 Points

    Why this code doesn't pass?

    Posted on Mar 26, 2018 by Alexander Vishnyakov
    Alexander Vishnyakov
    8,620 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    3 Answers

  • leakedmemory
    leakedmemory
    12,178 Points

    Not sure why this doesn't work. Seems to work fine on my machine.

    Posted on Sep 24, 2017 by leakedmemory
    leakedmemory
    12,178 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    1 Answer

  • james malloy
    james malloy
    7,959 Points

    can't get past the backup.py challenge. directories not being created in workspace, but works on my pc

    Posted on Aug 27, 2017 by james malloy
    james malloy
    7,959 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    2 Answers

  • hamsternation
    hamsternation
    26,617 Points

    Didn't find the right directory for year-month-day date?

    Posted on Aug 21, 2017 by hamsternation
    hamsternation
    26,617 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    3 Answers

  • Jaïr Veder
    Jaïr Veder
    6,545 Points

    Create daily dir not being accepted

    Posted on Aug 13, 2017 by Jaïr Veder
    Jaïr Veder
    6,545 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    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.