I have been stuck on this python challenge http://www.pythonchallenge.com/pc/def/ocr.html . I am familiar with python re module and regex but I don't seem to get what the challenge wants me to do. If there's anyone else that has been there, I'll need some help

Recommended Answers

All 4 Replies

I think you must decode the crypted text contained in the html source page.


>>> import re
>>> data = '''(*^+*]$]+@+*_##)&)^(@$^]e@][#&)('''
>>> re.findall(r'[a-z]', data)

Thanks! This is awesome!!!

snippsat I just posted another question on the next challenge. You'll see what I tried there. Please can you give a close hint like this for that too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.