I want to call a function from another file and pass arguments from current file to that file. With below example, In file bye.py I want to call function "me" from "hi.py" file and pass "goodbye" string to function "me". How to do that ? Thank you :)
I have file hi.py
def me(string):
print(string)
me('hello')
bye.py
from hi import me
me('goodbye')
What I got:
hello
goodbye
What I would like:
goodbye