it's more general.
Does anyone see a way to do this with a list comprehension? I don't.
Would be a neat hack if it can be done.
--
Tom Zych / freethin...@pobox.com
Because if they didn't vote for a lizard, said Ford, the wrong lizard
might get in. -- DNA
' +shx + \n)
if os.path.exists(dbf):
print 'El archivo ' +dbf +' existe'
log.write('No existe el archivo ' +dbf + \n)
I don't know about the rest, but you're missing an else: between the
last two lines.
--
Tom Zych / freethin...@pobox.com
Because if they didn't
= a character (string of length 1) from message
print Processing, i
--
Tom Zych / freethin...@pobox.com
Because if they didn't vote for a lizard, said Ford, the wrong lizard
might get in. -- DNA
___
Tutor maillist - Tutor@python.org
suppose there must be some reliable way to get a list of *all* an
object's attributes,
but I don't see it.
--
Tom Zych / freethin...@pobox.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org
Steven D'Aprano wrote:
Most of the common built-in Python objects are immutable:
...
while a few are mutable:
lists
dicts
sets
Also, bytearrays.
--
Tom Zych / freethin...@pobox.com
___
Tutor maillist - Tutor@python.org
To unsubscribe