Python script for easy generation of text menus for further use in C programs