I am trying to use the following python module:
import re
test = 'some text'
find = re.findall(r'text', test)
print(find)
When i try to run it in sublime, it writes:
AttributeError: module 're' has no attribute 'findall'
If i try to run it in Cygwin, there is a message:
AttributeError: 'module' object has no attribute 'findall'
But if i use attibute "findall" in python console, it works without any problem. I really don't undestand, what's wrong. In Sublime i use python 3.5.1, cygwin uses python 3.4.3, as i remember.