I need to use movies_list from the first function in the second. How do I do that?
movies_list
def movie(): movies_list = [movie.strip() for movie in movies
Make the second function nested on the first one, here you have an example:
def hello(): a = "hello" def world(): return "%s world" % a return world() print hello()