import os
      
      os.path.abspath(path)
      Python language logo

      Get absolute path

      Python public recipes

      This returns the absolute path of the current file.

      Shortcut: file.path.absolute

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.