There is this code: sys.path.insert(1, os.path.join(sys.path[0], ".."))
which inserts the same working directory with 2 dots to the sys.path list:
['/home/pran/Downloads/workingdirectory',
'/home/pran/Downloads/workingdirectory/..',
'/usr/lib/python36.zip', '/usr/lib/python3.6']
If the working directory is already in the list then I should be able to access that directory already. So what difference does the two dots make?
Thanks in Advance!