code: def search_demo(keywords="nltk"):
      """
      Use the REST API to search for past tweets containing a given keyword.
      """
      oauth = credsfromfile()
      client = Query(**oauth)
      for tweet in client.search_tweets(keywords=keywords, limit=10):
          print(tweet["text"])
  
file_path: nltk/nltk/twitter/twitter_demo.py
imports: import datetime
  import json
  from functools import wraps
  from io import StringIO
  from nltk.twitter import Query, Streamer, TweetViewer, TweetWriter, Twitter, credsfromfile
label_desc: Use image node_id 7 for calling a global function with example usage: search_demo(keywords) without return types