python 2.7 remove brackets -


i have string opening { , closing }. brackets @ first , @ last , must appear, can not appear in middle. following:

{-4,10746,.....,205}  {-3,105756} 

what efficient way remove brackets receive:

-4,10746,.....,205 -3,105756 

s[1:-1]     # skip first , last character 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -