error on loadtxt command
Title
Question
pend=loadtxt("D:\\pendulum.txt")
NameError Traceback (most recent call last)
<ipython-input-11-49371f9855ea> in <module>
----> 1 pend=loadtxt("D:\\pendulum.txt")
NameError: name 'loadtxt' is not defined
Python loading-data-from-files 05-06 min 50-60 sec
Answers:
use "%pylab" to load the function or use "from numpy import loadtxt"
Login to add comment