Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. >>> punctuations = '!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~'
  2. >>> re.compile(punctuations)
  3.  
  4. >>> punctuations = '([' + '!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~'+ '])'
  5. >>> re.compile(punctuations)
  6. re.compile('([!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~])')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement