I am trying the first example from here.
But for some reason I get the message: Microsoft Visual Studio The project cannot be launched because of the startup file 'C:\Users\itay8\source\repos\fibo\module1.py was not found.
the 'fibo.py' file and the 'import_from.py' that I am trying to import to are in the same folder.
the version of python that I am using is 3.80
the code in fibo.py file:
Fibonacci numbers module
def fib(n): # write Fibonacci series up to n
a, b = 0, 1
while a < n:
print(a, end=' ')
a, b = b, a+b
print()
the code in import_from_fibo.py:
import fibo
fibo.fib(10)
now to the current problem is that it can't find the function. the output: Exception unhandled module 'fibo' has no attribute 'fib'