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

New No-Code Track! 🚀 New videos dropping every week—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

    EOFError: EOF when reading a line

    Posted September 25, 2022 6:28am by shawn007
    shawn007
    15,408 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    3 Answers

  • William Hall
    William Hall
    19,502 Points

    i have no clue how to do this

    Posted July 5, 2021 6:57pm by William Hall
    William Hall
    19,502 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Hanwen Zhang
    Hanwen Zhang
    20,084 Points

    Help with file system python question

    Posted April 25, 2021 3:36pm by Hanwen Zhang
    Hanwen Zhang
    20,084 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Albert Egberg
    Albert Egberg
    7,786 Points

    Im getting an EOFError on Python for File Systems challenge

    Posted February 21, 2020 10:09pm by Albert Egberg
    Albert Egberg
    7,786 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Thapelo Mokgwaphe
    Thapelo Mokgwaphe
    5,892 Points

    Morning, i been trying this for weeks but no answers

    Posted November 4, 2019 10:03am by Thapelo Mokgwaphe
    Thapelo Mokgwaphe
    5,892 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Tanyala Motsebe
    Tanyala Motsebe
    3,245 Points

    why am i getting a Bummer??

    Posted September 18, 2019 6:50pm by Tanyala Motsebe
    Tanyala Motsebe
    3,245 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Chelsea Mofiz
    Chelsea Mofiz
    15,153 Points

    I'm getting a bummer.

    Posted November 1, 2018 4:48pm by Chelsea Mofiz
    Chelsea Mofiz
    15,153 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Karen Shumate
    Karen Shumate
    13,579 Points

    'd like you to change how get_root works. I still want to ask for a path but if the path is relative, change it into an

    Posted September 24, 2018 12:15am by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Karen Shumate
    Karen Shumate
    13,579 Points

    I'd like you to change how get_root works. I still want to ask for a path but if the path is relative, change it into an

    Posted September 23, 2018 3:54pm by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Karen Shumate
    Karen Shumate
    13,579 Points

    I'd like you to change how get_root works. I still want to ask for a path but if the path is relative, change it into an

    Posted September 23, 2018 3:04pm by Karen Shumate
    Karen Shumate
    13,579 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Rafay Ahmed
    Rafay Ahmed
    956 Points

    I'd like you to change how get_root works. I still want to ask for a path but if the path is relative, change it into

    Posted September 4, 2018 2:42am by Rafay Ahmed
    Rafay Ahmed
    956 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Rafay Ahmed
    Rafay Ahmed
    956 Points

    Can someone help me out?

    Posted August 29, 2018 2:40am by Rafay Ahmed
    Rafay Ahmed
    956 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Terri Valentine
    Terri Valentine
    23,034 Points

    ``import pathlib def get_root(): root = pathlib.PurePath( input("What's the full path where you'd ``

    Posted May 10, 2018 9:46pm by Terri Valentine
    Terri Valentine
    23,034 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Alexander Davison
    Alexander Davison
    65,469 Points

    Python for File Systems problem — been stuck for days! Please help~

    Posted March 30, 2018 3:44am by Alexander Davison
    Alexander Davison
    65,469 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    0 Answers

  • Alexander Davison
    Alexander Davison
    65,469 Points

    Problem with get_root(). Help would be appreciated.

    Posted March 29, 2018 2:41am by Alexander Davison
    Alexander Davison
    65,469 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Stephen Cole
    PLUS
    Stephen Cole
    Courses Plus Student 15,810 Points

    Why do I have to convert my path variable to a string to convert a relative path to an absolute one? (Using Python 3.)

    Posted November 29, 2017 2:45am by Stephen Cole
    Stephen Cole
    Courses Plus Student 15,810 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Edgar Castelo
    PLUS
    Edgar Castelo
    Courses Plus Student 19,428 Points

    More ways to solve this problem.

    Posted October 12, 2017 3:14pm by Edgar Castelo
    Edgar Castelo
    Courses Plus Student 19,428 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    1 Answer

  • Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points

    Stuck

    Posted October 4, 2017 3:17am by Tinotenda Tariro Mhishi
    Tinotenda Tariro Mhishi
    9,877 Points
    • Python
    • Python for File Systems
    • Project Starter
    • Solid Paths

    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.