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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with reading from file

Status
Not open for further replies.

ferry2

Technical User
May 6, 2011
20
RO
Hi, guys.
I have a problem with data reading from file.

The contents of the file is:

n a b alpha beta
5 0 3.1415926536 1 -1

But I receiving:

ac5556eba2abf208.jpg


With this line of code I'm traing to visualize the data:

Code:
print "(i1, f2.1, f11.10, f5.3, f5.3)", n, a, b, alpha, beta
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top