A python script for interpreting text files as random tables