This forum is now read-only. Please use our new forums at discuss.codecademy.com.

How to use APIs with Python Forum

View Course » View Exercise

900 points
Ee6c67c81d2bd6ad402c2a9ca64cac10?s=140&d=retro
Submitted by
Bogdan Stoichkov
over 4 years ago

Why do I get an error?

When I click save/submit I get the error:

Traceback (most recent call last):

File "python", line 3, in
IOError: [Errno 2] No such file or
directory: u'pets.txt'

I get the green light to continue though.


0 votes

permalink

Same is happening here. It gives the error, but allows us to continue..

I guess its because they didnt match the 'pets.txt' file with proper location of our script.py
Its not our fault, they'll see to it.

1037 points
5134e32ac2e17f8d6f000ace_818777528
Submitted by
Bhumish Gajjar
over 4 years ago

2 Comments

688130ee532745ef6d55431327c5ec9d?s=140&d=retro lukefabis over 4 years ago

Only if we report it.

Ee6c67c81d2bd6ad402c2a9ca64cac10?s=140&d=retro Bogdan Stoichkov over 4 years ago

yea sure but how xD