Skip to main content

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • 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,617 Points

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

    Posted August 21, 2017 6:30pm 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 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.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord