I need help on importing functions so they can be used in a different file. For example, if I have a file A, that looks something like this:
def return_something(text, list_of_text):
if text in list_of_text:
if text = 'Yes':
And in another file B, I'll request user input through raw_input, and use the function "return_something" from A to process the text in B, so either "True" or "False" is printed in file B, how do I do that? "return_something" needs two parameters, but in file B all I want the user to do is input one string, and the program analyzes that string with the list_of_text in file A, processes it with the if/print statements, then display the result back in file B.