Can I write a python code with a bunch of functions but without a main function. The purpose of this script is for other scripts to import some of the functions from. I will call it setvar_general.py or something which will be imported by a series of other setvar_x scripts. While these setvar_x do more specific things, setvar_general does not do any thing other than providing building blocks. Therefore there is not need for defining a main function in setvar_general.py.
I guess it all comes down to the question "do I have to have main function"?