best way to remove leading zeros from a tuple like string
Paul
tallpaul at gmail.com
Sun May 20 17:32:06 EDT 2018
>
>
> This works for me: mytuplestring.replace("0","")
>
> Your regex will also eliminate non-leading zeros.
More information about the Python-list
mailing list