[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

best way to remove leading zeros from a tuple like string

On Wed, May 23, 2018 at 12:50 AM, Grant Edwards
<grant.b.edwards at gmail.com> wrote:
> On 2018-05-22, Thomas Jollans <tjol at tjol.eu> wrote:
>> On 2018-05-20 23:54, Paul wrote:
>>> you will find several useful sites where you can test regexes.  Regex
>>> errors are very common, even after you have experience with them.
>> What's the benefit of those compared to simply trying out the regex in a
>> Python console?
> Doesn't everybody have an executable file in their home directory
> named "testit.py" which is continually morphed to test different
> Python features?

Certainly not! Mine is ~/tmp/runme.py in case I need other files with it.