[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*.  

More information about the Tutor mailing list