Hi all, was working on some code, making a function work, when suddenly my line 7 (which I have not touched for several days now)
path = os.path.dirItem(os.path.abspath(__file__))
Has risen this error
AttributeError: module 'ntpath' has no attribute 'dirItem'
And I have no idea why this error has suddenly arisen, and I have no idea where to begin fixing it, does anyone have any ideas?