InkyPhat Error - Can't Open File 'name-badge.py'

Got my inkyPhat a couple of weeks ago and was going though the tutorials and when I did the name badge example.

python name-badge.py --type "phat" --colour "red" --name "Inigo Montoya"

I get and error - "python: can’t open file ‘name-badge.py’ : [Errno 2] No such file or directory’

Not sure why.

Hi

Have you made sure you are in the right directory folder ?

From the terminal type: “ls” without the “ and it will show you the file in the directory, if name-badge.py does not show in the list then you will need to change directory.

Yeah, it sounds like the file isn’t in the folder your running your command from. its in a sub folder.
Try cd phat then your above command.