This is my first day of learning Python (I want to use it in biology/bioinformatics) so I am absolutely brand new to programming.
I am not able to run .py formatted files in my terminal. Here is the screenshot of what I’m doing and what I’m getting.
Your feedbacks are appreciated. Thanks!
Aysuns-MacBook-Pro:codes P$ pwd
/Users/P/Desktop/codes
Aysuns-MacBook-Pro:codes P$ ls
gc.py gc2.py gc3.py gcc.py hello.py hellos.py helloworld.py
Aysuns-MacBook-Pro:codes P$ python3 helloworld.py
/Library/Frameworks/Python.framework/Versions/3.9/bin/python3: can’t find ’ main ’ module in ‘/Users/P/Desktop/codes/helloworld.py’
Aysuns-MacBook-Pro:codes P$ python3 --version
Python 3.9.2