Problem with cat and loadtxt commands
Title
Question
I had downloded all the files of the above course and had extracted both pendulum and data file.But when I type cat command the interpretere shows syntax error.Where should i save the extracted zip files?
Python-3.4.3 Loading-Data-From-Files 01-02 min 10-20 sec
Answers:
You can save the files anywhere, but to follow the tutorial as it is, Save in the current working directory i.e. the directory from where you invoke ipython.
Also, what Syntax Error you got?
If you can tell the error, we will be in a better position to help you.
year,profit=loadtxt('/C/Users/tijo jose/company-a-data.tx
...: t',unpack=True).This was the command i wrote and the reply was this:
Please keep the file in the current working directory and try the command again.
Login to add comment
Login to add comment