the import the OSPath='example. XLSX'
Separate=OS. Path. Splilext (path)
Print (separate)
Run error:
Separate=OS. Path. Splilext (path)
AttributeError: module 'ntpath' has no attribute 'splilext'
Because I have no splitext python OS module of this function?
Bosses how to solve,,,
My python is "python 3.9.1 (tags/v3.9.1:1 e5d33e, Dec 7, 2020, 17:08:21) [MSC v. 1927 64 - bit (AMD64)] on win32"