import os

splited_path = os.path.realpath(__file__).split('\\')[:-1]
fish_path = '\\'.join(splited_path)

fish_json_name = "fish.json"
fish_json_path = os.path.join(fish_path, fish_json_name)

[(7, 'os.path.join', 'os.path.join', False, 'import os\n'), (3, 'os.path.realpath', 'os.path.realpath', False, 'import os\n')]