I have a funny problem.
I am trying to split a string.
DEVICE_IP = '126.96.36.199' ip = DEVICE_IP.spilt('.') print ip+'-'+ip+'-'+ip+'-'+ip
The above code throws the error
Traceback (most recent call last): File "/home/englotk/test", line 2, in <module> ip = str(DEVICE_IP).spilt('.') AttributeError: 'str' object has no attribute 'spilt'
Please let me know why is this so..