[Tutor] Simple question: Creating a string with a directory structure

Mike Yuen mjyuen at hotmail.com
Tue Jan 27 21:49:38 EST 2004


What i'm trying to do concatenate a bunch of strings to make a file path.  
For example,

A = "c:/WINNT"
B = "/"
C = "Program Files"

When I go:
D = A+B+C
print D # hoping to get c:/winnt/program files.

INstead, when I output D, I get <type 'str'>
How do I fix this?

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/photos&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca




More information about the Tutor mailing list