I am writing a python script in which i am adding a new layer from a feature class using the 'addDataFromPath' function, now i want to save the changes using the project.save() method but its i giving me an OSError. Can anyone please help me how can i resolve this error or any other way around.
I have tried using project.saveACopy() but its not solving my purpose.