You must be using the Python 2.x version. In python2,
isinstance(s, basestring)
You have to write it like this.
If you search it and write it down for those who come in,
In Python3, there is no basering
isinstance(s,str);
You can use it as
© 2024 OneMinuteCode. All rights reserved.