Using VS Code some Python running errors do not display an error message, then just end the running of the program.
For example:
import numpy as np
a = np.array([1,2,3,4])
s = a.shape()
print(s)
Line 3 is an error. It should be:
s = a.shape
When running the Python code with the error in VS code, no error message is given, nothing is displayed in the problems, output, debug or terminal windows. The program just stops.
Suggestions?