Hi everybody!
I need to split my path, let's say' "C:\path1\path2\path3\path4" into separate strings... Not sure how to do that, I've tried os.path.split / splitdrive etc. but it always give me just 2 arguments
I need to get "C:\path1" from this path string for example, which would be the root folder of my project structure
Maybe I could just walk top by hierarchy, in my case I need 2 steps to get the result I need. I have found os.path.walk command, but I'm afraid it does not what I need
Thanks!