newb: Join two string variables

true911 true911m at gmail.com
Wed Dec 6 21:08:19 EST 2006


johnny wrote:
> How do I join two string variables?
> I  want to do:  download_dir + filename.
> download_dir=r'c:/download/'
> filename =r'log.txt'
>
> I want to get something like this:
> c:/download/log.txt

pathfn = download_dir+filename




More information about the Python-list mailing list