Remove commas from string content
I am working trying to understand a code received from some online source to learn python, where in we are processing huge text to speech.
While conversion of the same, on occurrence of comma (,) the speech output is getting defunct. If i remove the comma manually then the speech is coming correct. But this can not be presented or deployed due to manual intervention required.
Can someone help me remove comma from the string variable as demonstrated below:
str = " This is, a text message, suffering from text to speech conversion defunct "
I need some mechanism, which checks the occurrence of comma in the input string and if found removes it. So the string will become like.
str = " This is a text message suffering from text to speech conversion defunct "
I am not a programmer, so I will request to provide me the solution instead of sharing references or code snippets.
Thanks in advance !