Cannot grade assignment : failed test case

Hello @Swapneel_Bhatt ,

You have hardcoded the paths. Hence you are getting stuck at test case.

It’s given in the Hint:

HINT:
Use os.makedirs to create your directories with intermediate subdirectories
Don’t hardcode the paths. Use os.path.join to append the new directories to the root_path parameter

Check this solution to a similar error.

With regards,
Nilosree Sengupta