0
regaring %run command execution with "cat data.txt" command in automation file

I tried automatiom with execution of %run command with following command in "data.py" file

"cat data.txt

x,y,z=loadtxt("data.txt", unpack=True, delimiter=":")

print(x)

print(y)

print(z)"

but it failed with syntax error in line 1 of "cat data.txt" command

now, i dont know wheter its technical error related to restriction of python language or my own fault.


Python 05-10-23, 8:15 a.m. amarsinghsidhu

Log-in to answer to this question.