Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Jul 22, 2016
Messages
1
Location
IN
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

Back
Top