Python - import 'split' -- posixpath

Import split

To import split, Add the following line to the top of your code.

from posixpath import split