Hi, I'm a begginer in Python, i have a question...

can we use replace method to do it. 

E.g. a='cm_text.data'
     a.replace('.data', ''), this will return output as 'cm_text'.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to