🤑 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
  • Kamaren McCord
    Kamaren McCord
    11,236 Points

    year-month-day formatting not working

    Posted June 13, 2023 6:41pm 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 July 9, 2021 5:26am 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 October 21, 2019 7:28am 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 October 9, 2019 7:47pm 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 November 25, 2018 4:01pm 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 September 22, 2018 6:21pm 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 September 22, 2018 3:09pm 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 September 22, 2018 1:25am 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 March 26, 2018 6:46pm 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 September 24, 2017 2:52pm 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 August 27, 2017 8:34pm by james malloy
    james malloy
    7,959 Points
    • Python
    • Python for File Systems
    • Manipulation
    • Daily Backup

    2 Answers

  • hamsternation
    hamsternation
    26,616 Points

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

    Posted August 21, 2017 6:30pm by hamsternation
    hamsternation
    26,616 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 August 13, 2017 12:45pm 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.