Re: Simplify Code
Victor wrote...
# del is used to determine if should reset the lower header values to ''
del = 0
Apart from many other things that spring to mind, I already see an obvious
flaw: 'del' is a keyword, or a 'reserved word' in Python. It is used to
remove variables from the namespace. Tip: Use some other name as a variable,
eg. 'deletethisone'.
Greetings,
--
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is simply amazing." - Vinod Vallopillil
http://www.catb.org/~esr/halloween/halloween4.html
.
Relevant Pages
- Re: My Real Madrid nightmare.
... Never mind we didn't know anything about politics. ... Real Madrid was the club of "Es esa muchacha tipica, ... similarities between Miguel Muñoz and Vicente Del Bosque. ... That's what you get for hiring english chicks ... (rec.sport.soccer) - Re: The del statement
... it's a keyword and not some universally well-known punctuation. ... methods of classes implementing stacks and FIFOs where appropriate. ... The confusion over del does stem from it's behavior, ... (comp.lang.python) - Re: Question about idioms for clearing a list
... can't get, set, and del, then you need to go back to collections ... Why should it magically spring to mind in this occasion? ... I'm not necessarily requesting a clearmethod, ... The list interface is full of redundant convenience methods, ... (comp.lang.python) - Re: Keyword same in right hand side of assignments (rev)
... using the keyword would help clarify the intent. ... is to my eyes much clearer than the 'same' version. ... (comp.lang.python) - Re: worst sitcoms ever
... The phrase, quit while you're ahead, comes to mind. ... If I hear Del Boy say "Luvverly jubbelerly" ... The Green Green Grass ... (uk.media.tv.misc) |
|