Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GIAC Exam GPYC Topic 4 Question 69 Discussion

Actual exam question for GIAC's GPYC exam
Question #: 69
Topic #: 4
[All GPYC Questions]

Which of the following import statements will add the ability to parse data with regular expressions to your script?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Dominque
12 days ago
Hmm, I was leaning towards A) from regex import re, but now I'm not so sure. I'll have to double-check the Python documentation on this one.
upvoted 0 times
...
Cassie
17 days ago
I'm not sure, but I think A) from regex import re might also work since it explicitly imports the 're' module from the 'regex' package.
upvoted 0 times
...
Dottie
18 days ago
I'm almost certain that the correct answer is B) import re. Regular expressions are a core part of Python, so this is the way to access them in your script.
upvoted 0 times
Kyoko
2 days ago
I think you're right, B) import re is the correct answer.
upvoted 0 times
...
...
Fannie
22 days ago
I agree with Barb, because 'import re' is the standard way to import the regular expression module.
upvoted 0 times
...
Barb
25 days ago
I think the answer is B) import re.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77