Python script that checks whether a string represents a valid postcode and obtains latitude, longitude if it is