Run
import keyword if __name__ == '__main__': #get all keywords keywords = keyword.kwlist #print the keywords for key in keywords: print(key)
Output