file name: ran.py
import numpy
arr = numpy.array([1,2,3])
print(arr)
when i run this program on python IDLE
It is displaying correct output but when i run this same code on cmd then error is coming.
Error description:
inside globe( ):10
type error globe( ) takes 0 positional argument but 1 was given.Before any conclusion numpy is installed. I am saved python folder on d drive. File name is ran.py is stored in python named folder stored in D: drive.Can't we run numpy program on cmd?? by first save numpy file in folder named python(D drive)then set path on cmd to enter in folder python. After on cmd
D: \ python> ran.py нажмите ввод Описание ошибки: внутри глобуса (): ошибка типа 10 Глобус () принимает 0 позиционных аргументов, но был задан 1.