[PIPython] leggere parola per parola da file

Nicola Larosa nico
Ven 19 Nov 2004 15:16:47 CET


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>      for word in line:

Cambia in:

      for word in line.split():


- -- 
Nicola Larosa - nico a tekNico.net

"When a student asks why case matters, simply ask why it shouldn't matter.
If they think it would be easier to use Python if they can be inconsistent
in their use of case, then they have the answer. Python helps teach that
consistency matters." -- Michael McLay, April 2004

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA9sQ5Xv0hgDImBm4RAjWSAJ9vtAM4DEoZgPYS4qr9jpQh8FuJTwCgmD1N
2HswItNZbDSCSY9uGq9XqL0=
=Ko6t
-----END PGP SIGNATURE-----



More information about the Python mailing list