I want to write a function named size() which will accept either a file name or a list of filenames and return the size of the file or sum of its sizes respectively. How to do this without function overloading which is not available in python?
thanks
suresh