Re: [Tutor] Invisible Characters in Fortran/Python

2011-04-11 Thread Francesco Loffredo
On 04/10/2011 0.12, Tyler Glembo wrote: Hi All, So I have a ~3000 line fortran code that needs to be updated to run new files by simply updating a few lines in the code (~10 lines). I thought python would be a great way to do so since I know a little python but not fortran. So, my plan was to

Re: [Tutor] Invisible Characters in Fortran/Python

2011-04-09 Thread Steven D'Aprano
Tyler Glembo wrote: The problem I am having is with hidden/invisible character. In the fortran code, there are line indents which are denoted with an invisible character ^I. When I write with python, there is no ^I at the beginning of the line ^I is a tab character, which you can include in

Re: [Tutor] Invisible Characters in Fortran/Python

2011-04-09 Thread xDog Walker
On Saturday 2011 April 09 15:12, Tyler Glembo wrote: > Hi All, > So I have a ~3000 line fortran code that needs to be updated to run new > files by simply updating a few lines in the code (~10 lines). I thought > python would be a great way to do so since I know a little python but not > fortran.

[Tutor] Invisible Characters in Fortran/Python

2011-04-09 Thread Tyler Glembo
Hi All, So I have a ~3000 line fortran code that needs to be updated to run new files by simply updating a few lines in the code (~10 lines). I thought python would be a great way to do so since I know a little python but not fortran. So, my plan was to read in each line, and then at a certain li