I am running the code below on my ST3/Atom IDE, it raises the exception that the module 're' has no attribute 'split'. But, when I running the code in the cmd Python script it works well. Can anyone interpret this confusing trouble and give me some advice to make this module works on my IDE? Thanks in advance.
The simple code I tested:
import re
re.split(r'[;,\s]\s', 'hello;,world')