Click here to Skip to main content
15,352,321 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am trying run a simple code in terminal using the input but that isn't getting right. Always apear a error message. Someone mighty help me understand what's going on, please?


That is the error message
https://i.stack.imgur.com/Cmhmm.png[^]

What I have tried:

I tried nothing because i really don't know
Posted
Updated 24-May-22 0:02am

Read the error message: "can't open file ... no such file or directory"
So look at the path and then use Windows Explorer to follow the path and file out what is missing.

We can't do that for you - we have no access to your file system!
   
The file containing your Python source is named aula01.py, but you are calling the interpreter with the name input.py. Use the correct name for your source file.
   
It might seem a bit silly, but have you checked the file location? Does the file exist?
   
Comments
Richard Deeming 25-May-22 4:52am
   
Which is precisely what the existing solutions suggested, over a week before you posted this.
ahmad arabi 25-May-22 11:33am
   
I was expecting a no and this was just a kind way to ask the the real problem behind it. He might have tried to create the file or have searched online for the answer. Forums are the last hope for the unsearchable problems.
Richard Deeming 25-May-22 11:37am
   
The OP didn't reply to the two previous solutions. Unless he's practising Taarof[^], I doubt saying the same thing a third time will make much difference. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900