Re: newb: Join two string variables

2006-12-06 Thread true911
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 -- http://mail.python.org/mailman/listinfo/python-list

Re: problems caused by very large for-loop

2006-12-07 Thread true911
sam wrote: > hi all, > ... > has anyone else bumped up against this problem before? i suppose > for-loops with 250 million iterations are seldom used in most > applications. it was just the first time i'd ever solved a problem by > actually having some insight into how python works at a slightly