✨ 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
    • Project Starter
    • Solid Paths
    • Close
  • shawn007
    shawn007
    15,408 Points

    EOFError: EOF when reading a line

    Posted on Sep 25, 2022 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 on Jul 5, 2021 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 on Apr 25, 2021 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 on Feb 21, 2020 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 on Nov 4, 2019 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 on Sep 18, 2019 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 on Nov 1, 2018 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 on Sep 24, 2018 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 on Sep 23, 2018 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 on Sep 23, 2018 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 on Sep 4, 2018 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 on Aug 29, 2018 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 on May 10, 2018 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 on Mar 30, 2018 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 on Mar 29, 2018 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 on Nov 29, 2017 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 on Oct 12, 2017 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 on Oct 4, 2017 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.