Hello, I need to replace a period (.) in a domain name with a slash period (\.).
I'm attempting to use the string replace method to do this. Example: uri = domain.com uri.replace('.', '\.') This returns 'domain\\.com' Is there a way to do this so there is not a double slash before the period? Thanks for any help, Rod _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor