Re: os.chmod problem
Never mind. I just discovered that os.chmod requires 0755, not just 755. V On Tue, Oct 13, 2009 at 9:26 AM, Victor Subervi wrote: > Hi; > I have the following code: > > if 13 < x < 20: > y += 1 > w += 1 > try: > getpic = "getpic" + str(w
os.chmod problem
Hi; I have the following code: if 13 < x < 20: y += 1 w += 1 try: getpic = "getpic" + str(w) + ".py" try: os.remove(getpic) except: pass code = """#! /usr/bin/pytho