Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get complete path from reletive path python

import os

simp_path = 'demo/which_path.docx'
abs_path = os.path.abspath(simp_path)

print(abs_path)
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #complete #path #reletive #path #python
ADD COMMENT
Topic
Name
8+7 =