RE: Curious issue with simple code

2006-09-19 Thread Richard Morello
Dear Tony, You're not in that directory (start_dir) when the isfile() function is called. See function os.path.curdir() and os.chdir(). Also, you may be confusing the behavior of os.path.walk(), in which the function called will happen once you have been chdired to the directory it is examining.

RE: assistance with python coding

2006-09-11 Thread Richard Morello
[i] self.cards[i] = self.cards[j] self.cards[j] = tmp   Let me know if you need any more help!   Yours truly, Richard Morello   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John ShappellSent: Monday, September 11, 2006 12:23 PMTo