[Errno 2] No such file or directory

Hello Guys
I am new in Python and I would like your help, please

I have created a python code in Visual Studio for web scraping purposes. I can run the program successfully in Visual Studio, but, when I try to run it via terminal in my MacBook I got the error [Errno 2] No such file or directory.

Could you please help me?

Seems like a path issue. Do you have any path references in the code? How are you running the code?

Hello.
At the moment, i am running the code in visual studio with not errors. But I when I try to run it via terminal in my macbook, i have this error

Did you open the terminal in the same directory as the file you are trying to run? If not, you need to use the path to the file.

https://docs.python.org/3.8/using/mac.html