By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

python33, name 're' is not defined

P: 103
OS: Windows 7, 64bit
Python 3.5.7

Expand|Select|Wrap|Line Numbers
  1. import re
  2. strtext="""AU  - Huang, Zhipeng
  3. AU  - Geyer, Nadine
  4. AU  - Werner, Peter
  5. AU  - de Boor, Johannes
  6. AU  - Gösele, Ulrich
  7. TI  - Metal-Assisted Chemical Etching of Silicon: A Review """
  8. auths=re.findall('AU  \- [öÖäÄåÅa-zA-Z.,\s]+',strtext)
I am getting the error: NameError: name 're' is not defined, on the line auths=....
Oct 7 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.