nge(6):
while True:
draw = random.choice(range(1,50))
if not(numbers.count(draw)):
numbers.append(draw)
break
print numbers
elif q == '2':
break
else:
print "Read the in
Does anyone know of a Web Calendar written in Python?
TIA
Mark
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Hi,
I'm a newbie and was wondering which of these IF conditions is better
structure:
if not os.path.exists('filename'):
if os.path.exists('filename') == False:
They both work so if one preferred over the other?
Thanks
Mark Brown
Test, please disregard.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor