best way to remove leading zeros from a tuple like string
Paul
tallpaul at gmail.com
Sun May 20 17:54:21 EDT 2018
On Sun, May 20, 2018, 5:53 PM Paul <tallpaul at gmail.com> wrote:
> This works for me: mytuplestring.replace("0","")
>
>>
>>> Your regex will also eliminate non-leading zeros.
>>
>>
> If you Google
>
> regex tester
>
> you will find several useful sites where you can test regexes. Regex
> errors are very common, even after you have experience with them.
>
More information about the Python-list
mailing list