The basics of .dat and .txt files in conjunction with python