iterating over lines in a file

Moshe Zadka moshez at math.huji.ac.il
Fri Jul 21 00:41:36 EDT 2000


On Thu, 20 Jul 2000, nobody wrote:

> > Preventing world war III, when Python achieves world domination. If C is
> > allowed to achieve world domination, WWIII will be cause by
> 
> > if(everything_is_ok = 0) {
> > 	launch_missile();
> > }
> 
> i sort of see the point, when you're speaking of beginner programmers
> still confused by the common algebra equal sign and trying hard to
> sort out assignment from comparison, but i honestly don't see many
> more seasoned programmers making that mistake.

Huh? No programmer I know never made that mistake. Even seasoned
programmers sometimes forget the second "=" in the midst of coding...
(Note that Java partially solved it too)

--
Moshe Zadka <moshez at math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez





More information about the Python-list mailing list