Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

TypeError: data:found string: expecting tuple

Status
Not open for further replies.

Manohar reddy

Mechanical
Jul 22, 2016
1
We have written a code in python and stored the output in the form of .txt and tried to import the file and use it at the smooth step amplitude


f = open('data_x', 'r')
values=f.read()
values=f.readline()


and when we are trying to call the stored values its stating the above type error found string expecting tuple
can any one help us with this
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor