Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset
Comments Off

Afficher la liste des mots clés python

 list, assert, list
{filelink=16548}

import keyword
 
for mot in keyword.kwlist:
    print "#"+mot
 
# ce module affiche ça
 
#and
#as
#assert
#break
#class
#continue
#def
#del
#elif
#else
#except
#exec
#finally
#for
#from
#global
#if
#import
#in
#is
#lambda
#not
#or
#pass
#print
#raise
#return
#try
#while
#with
#yield

Livres Sur ce Sujet

----------------------------------------------------------------------------

Comments are closed.