First thing I have to mention here, I'm new to python.
Now I have a file located in:
a/long/long/path/to/file.py
I want to copy to my home directory with a new folder created:
/home/myhome/new_folder
My expected result is:
/home/myhome/new_folder/a/long/long/path/to/file.py
Is there any existing library to do that? If no, how can I achieve that?