Python - File Handling Fundamentals
Which of the following is the correct way to join paths using pathlib in Python?
/ is overloaded to join paths safely./ correctly. Path('folder') + 'file.txt' uses + which is invalid. The .append() and .join() methods do not exist on Path objects.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions