When i use os.getcwd() , it gives me something like this :
'/home/xxx/PycharmProjects/pythonProject3'
I want change it to something like this :
PycharmProjects/pythonProject3
in another word I wanna my os.getcwd() starts from where I want.
how can I do it?
i tried os.chdir and os.path.abspath(os.curdir) and it does not work.
I am using python3 and ubuntu.