Python - import 'split' -- posixpath Py Py Aug 31, 2022 Import split To import split, Add the following line to the top of your code. from posixpath import split