runfile('C:/Users/hp/test_example.py', wdir='C:/Users/hp') Traceback (most recent call last):
File "C:\Users\hp\anaconda3\envs\spyder-cf\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec exec(code, globals, locals)
File "c:\users\hp\test_example.py", line 26, in number_of_frames = int(sys.argv[1])
IndexError: list index out of range