It is not clear what you mean by "send info", but if you but the typical way of passing a value would be with a function parameter.
main.py:
helloworld("Hello world!")
module.py
def helloworld(message):
print message
Is that what your looking for? Also the two uses of print
in your example are redundant.
Addendum: It might be useful for you to read the Python documentation regarding function declarations, or, alternatively, most Python introductory tutorials would cover the same ground in fewer words. Anything you read there is going to apply equally regardless of whether the function is in the same module or another module.