human
How to check if a path is absolute path or relative path in cross platform way with Python?
assistant
Here is some code to check if path `my_path` is an absolute path

os.path.isabs(my_path)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.