from pathlib import Path file_path = r'audio\Never install locally [J0NuOlA2xDc].mp4' print(Path(file_path).resolve())