Absolute or relative, file or directory?

Report a typo

You're working on a Python program that needs to check whether a given path is absolute or relative, and whether it refers to a file or directory. Which functions from the os.path submodule would you use to implement this?

Select one or more options from the list
___

Create a free account to access the full topic