Sometimes you might need to generate tables in good old plain text. Doing so by hand might be very tedious and error prone. Better let the computer to do the job! Luckily, off the self components exist to do just that. Specifically, Python can be used to perform this task. Here's a link to the relevant python recipe. Alternatively, there is a ready made module TextTable, which is also quite convenient.