

def needsexception():
	x = iter([5,2,0,7])
	while True:
		print(1 / next(x))


def walk(dirname):
	for name in os.listdir(dirname):
		path = os.path.join(dirname, name)
		if os.path.isfile(path):
			print(path)
		else:
			walk(path)
			
walk(".")			# To "walk" the current directory


