Python Flask Basics Welcome to Flask Request Variables

Alex Diaz
Alex Diaz
4,631 Points

Workspaces can't open my file

python: can't open file 'simple.py': [Errno 2] No such file or directory

Is the error i'm getting, the file is named simple.py for sure so I don't really know whats going on. I read on one guy's post saying that he resolved this using "cd rps/"? Any help is appreciated, thank you!

Chris Freeman
Chris Freeman
Treehouse Moderator 56,829 Points

What are you doing when you see this error? Running a script or at the command line? Can you post the command you used and the full output seen?

Alex Diaz
Alex Diaz
4,631 Points

Chris, i am typing this into the console-

python simple.py

I'm just trying to run the file

1 Answer

Alex Diaz
Alex Diaz
4,631 Points

I solved this by just taking simple.py out of the folder it was in? Thank you anyways chris! :)