"John Salerno" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I have this:
>
> subdomain = raw_input('Enter subdomain name: ')
>
> path = r'C:\Documents and Settings\John Salerno\My Documents\My
> Webs\1and1\johnjsalerno.com\' + subdomain

For any direct use of paths within Python (to open a file, change 
directory, etc), forward slashes work fine, avoiding backslash problems.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to