Dec-18-2021, 03:16 AM
Hi,
I have two folders folder1, folder2 as shown below:
Folder1
-- file1
--file2
Folder2
--file3
-- file4
I open file4 in (spyder/vscode) and want to import file2 & function2. But I am unable to open, it give Folder1 does not exists. Because when I open file4, the cwd is Folder2. How to open file in another folder.
I have two folders folder1, folder2 as shown below:
Folder1
-- file1
--file2
Folder2
--file3
-- file4
I open file4 in (spyder/vscode) and want to import file2 & function2. But I am unable to open, it give Folder1 does not exists. Because when I open file4, the cwd is Folder2. How to open file in another folder.