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?
os and os.path
Absolute or relative, file or directory?
Report a typo
Select one or more options from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.