Absolute Path Retrieval Function

  • Share this:

Code introduction


This function returns the absolute path of the given path.


Technology Stack : os

Code Type : Path handler

Code Difficulty : Intermediate


                
                    
def abspath(path):
    import os
    return os.path.abspath(path)                
              
Tags: