techteej
Sep 25, 2014 - 22:27
Not quite sure If I'm doing this right, as when I call the function, nothing gets printed.
def search_files():
dir_items = listdir(getcwd())
query = v['searchbox'].text
if query in dir_items:
print 'IT WORKED'
else:
print 'IT DID NOT WORK'