🤑 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
  • Andy McDonald
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points

    trying to create funtion that prepends / to a file path that is not absoloute

    Posted July 7, 2021 7:00am by Andy McDonald
    .a{fill-rule:evenodd;}techdegree seal-36
    Andy McDonald
    Python Development Techdegree Graduate 13,801 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • James Williams
    James Williams
    59 Points

    The C:\ check requires C:\\ in order to work

    Posted April 1, 2020 12:28am by James Williams
    James Williams
    59 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Nancy Melucci
    PLUS
    Nancy Melucci
    Courses Plus Student 36,159 Points

    Need some feedback. Why doesn't this work?

    Posted January 1, 2020 5:36pm by Nancy Melucci
    Nancy Melucci
    Courses Plus Student 36,159 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    3 Answers

  • Rutendo Chaurura
    Rutendo Chaurura
    6,810 Points

    I really need some help

    Posted September 6, 2019 1:34pm by Rutendo Chaurura
    Rutendo Chaurura
    6,810 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • fotini komninou
    fotini komninou
    1,639 Points

    python absolute path function

    Posted March 22, 2019 6:14pm by fotini komninou
    fotini komninou
    1,639 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Husnain Bustam
    Husnain Bustam
    592 Points

    Getting SyntaxError while passing parameters value to the function.

    Posted November 26, 2018 3:52am by Husnain Bustam
    Husnain Bustam
    592 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • ian mays
    ian mays
    5,214 Points

    I'm not getting the right values for some of the paths and I'm not sure why.

    Posted October 31, 2018 6:34pm by ian mays
    ian mays
    5,214 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Ethan Whitlock
    Ethan Whitlock
    3,016 Points

    Try Again... At least let me see the console so I can see what's going wrong...

    Posted October 9, 2018 3:03pm by Ethan Whitlock
    Ethan Whitlock
    3,016 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    2 Answers

  • Chet Gray
    Chet Gray
    15,624 Points

    Unknown issues with joining & absolute paths (Python for File Systems, Navigation, Absolutely, Challenge Task 2)

    Posted July 24, 2018 11:04pm by Chet Gray
    Chet Gray
    15,624 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    3 Answers

  • Alexander Davison
    Alexander Davison
    65,469 Points

    "Absolute" function not working. [Python for File Systems]

    Posted March 26, 2018 3:00am by Alexander Davison
    Alexander Davison
    65,469 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • debasis nath
    debasis nath
    11,650 Points

    Bummer! Didn't get the right return values for some paths

    Posted December 17, 2017 7:02am by debasis nath
    debasis nath
    11,650 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    0 Answers

  • Benjamin Kuijs
    Benjamin Kuijs
    17,022 Points

    Python for File Systems, Challenge Task 2 of 2. I keep getting Bummer! Can't find `absolute`

    Posted September 27, 2017 8:02am by Benjamin Kuijs
    Benjamin Kuijs
    17,022 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    3 Answers

  • Aaron Mason
    Aaron Mason
    447 Points

    I'm really new to python I don't know how to create a function for absolute with two arguments.

    Posted September 27, 2017 12:51am by Aaron Mason
    Aaron Mason
    447 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • s d
    PLUS
    s d
    Courses Plus Student 40 Points

    finding absolute path

    Posted September 23, 2017 1:29am by s d
    s d
    Courses Plus Student 40 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Liv B
    PLUS
    Liv B
    Courses Plus Student 51 Points

    absolute.py task 2

    Posted September 1, 2017 1:13pm by Liv B
    Liv B
    Courses Plus Student 51 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    3 Answers

  • Hussain Otudi
    Hussain Otudi
    437 Points

    Now I need you to write a function named absolute that takes two arguments, a path string and a root string. If the path

    Posted August 18, 2017 3:42pm by Hussain Otudi
    Hussain Otudi
    437 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • anthony cummings
    anthony cummings
    9,961 Points

    Import Python

    Posted August 16, 2017 4:21pm by anthony cummings
    anthony cummings
    9,961 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • uday kiran
    uday kiran
    3,222 Points

    Code is not working

    Posted August 16, 2017 5:39am by uday kiran
    uday kiran
    3,222 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Simon Wong
    Simon Wong
    519 Points

    Need help with filesystems challenge task 2 of 2.

    Posted August 14, 2017 2:22pm by Simon Wong
    Simon Wong
    519 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    1 Answer

  • Nomzamo Sithole
    Nomzamo Sithole
    61,838 Points

    What am I doing wrong?

    Posted August 14, 2017 6:49am by Nomzamo Sithole
    Nomzamo Sithole
    61,838 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    2 Answers

  • Hara Gopal K
    PLUS
    Hara Gopal K
    Courses Plus Student 10,027 Points

    # what's wrong here ?

    Posted August 12, 2017 4:34am by Hara Gopal K
    Hara Gopal K
    Courses Plus Student 10,027 Points
    • Python
    • Python for File Systems
    • Navigation
    • Absolutely

    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.