> > > This works for me: mytuplestring.replace("0","") > > Your regex will also eliminate non-leading zeros. -- https://mail.python.org/mailman/listinfo/python-list
- best way to remove leading zeros from a tuple like stri... bruceg113355
- Re: best way to remove leading zeros from a tuple ... Michael F. Stemper
- Re: best way to remove leading zeros from a tu... bruceg113355
- Re: best way to remove leading zeros from ... Paul
- Re: best way to remove leading zeros f... Paul
- Re: best way to remove leading ze... Thomas Jollans
- Re: best way to remove leadin... Paul
- Re: best way to remove leadin... Grant Edwards
- Re: best way to remove le... Chris Angelico
- Re: best way to remove leading zeros f... bruceg113355
- Re: best way to remove leading zeros from a tuple ... Ben Bacarisse
- Re: best way to remove leading zeros from a tu... Michael F. Stemper
- Re: best way to remove leading zeros from ... Ben Bacarisse
- Re: best way to remove leading zeros f... bruceg113355