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
  • 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,809 Points

    Need some feedback. Why doesn't this work?

    Posted January 1, 2020 5:36pm by Nancy Melucci
    Nancy Melucci
    Courses Plus Student 36,809 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,470 Points

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

    Posted March 26, 2018 3:00am by Alexander Davison
    Alexander Davison
    65,470 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.

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