Closed opus-x closed 3 years ago
This also works: self.absolute_path = os.getcwd() + '/' + self.new_folder_name +'/' # It create the absolute path of the GSMArenaDataset folder.
I have added a PR to update the code https://github.com/Deepakchawla/Mobile-Phone-Dataset-GSMArena/pull/10 Hopefully that fixes things.
code has been updated now guys will not get the issue.
Please change the following line: line 20:
self.absolute_path = os.popen('pwd').read().strip() + '/' + self.new_folder_name # It create the absolute path of the GSMArenaDataset folder.
new code:
self.absolute_path = os.path.dirname(os.path.realpath(__file__)) + '/' + self.new_folder_name # It create the absolute path of the GSMArenaDataset folder.