posixpath is one of the implementations of os.path.  You should import os.path instead.