import os if os.path.exists("Syllabus.pdf"): print("Syllabus.pdf is already a normal file.") else: os.system("git lfs pull") # Ensure LFS file is downloaded os.system("git lfs migrate export --include='Syllabus.pdf'") # Convert to normal file print("Syllabus.pdf converted to normal file!")