I have a 100 line code which is liable to increase, so far I have not included any user defined functions, so it is one stream of code. In c I was taught to put everything I could into functions, is this the case in python i.e. would I be frowned upon for not using functions?
I am looking to convert a few thousand .fits files to .txt, I have used fv viewer. This however can only convert one at a time, does anyone know of a batch converter for .fits to .txt.
Thank you in advance for your help.