python script for .dat file

Erik python at lucidity.plus.com
Tue Apr 5 18:47:05 EDT 2016


Hi Muhammad,

On 05/04/16 22:49, Muhammad Ali wrote:
> Would any one paste here some reference/sample python code for such extraction of data into text file?

You haven't really explained what you want to achieve. What is the input 
format, what is the output format, what constraints are there on those 
two formats and the data within them and what transformation between the 
two are you trying to perform?

If you're on a Linux system, then:

$ cat A.dat B.dat C.dat > result.txt

... will do something that is close to what you have asked for so far. 
But I bet it's not what you want.

E.



More information about the Python-list mailing list