Thread Python rockz! (82 answers)
Opened by pktm at 2007-06-03 17:08

bloonix
 2007-06-05 10:50
#23782 #23782
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
[quote=pq,04.06.2007, 21:36]ich benutze chomp, und wenn jemand eine datei nicht richtig hochladen kann,
dann ist das ein anwenderfehler.[/quote]
Dem stimme ich nur bedingt zu. Wenn jemand ein Programm schreibt und
externe Daten verarbeitet und diese Daten von anderen System stammen
könnten, dann sollte er diesbezüglich eine Option bereitstellen.

./script.pl -o mac
./script.pl -o linux
./script.pl -o s390
./script.pl -o win
./script.pl -o ???


Ansonsten ist chomp() völlig ausreichend!\n\n

<!--EDIT|opi|1181026288-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread Python rockz!