Python help please
I am trying to modify a template function without knowing Python. I'm sure it must be easy to do, but can't get the syntax correct. Here are the details:
The function has the statement 'date = mg.group(1)' which returns a string of the format 'mm/dd/yyyy'
What I want to do is to swap the order of the 'mm' & 'dd' so the final string has the form 'dd/mm/yyyy'. How do you do this in Python?
Thank you for your help.
Andy
|