On 08/09/06, <b class="gmail_sendername">Antoine Pitrou</b> <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Perhaps it would be good to drop those magic numbers (0, 1, 2) for<br>seek() ? They don't really help readibility except perhaps for people<br>who still do a lot of C ;)<br></blockquote></div><br>+1<br>If we can't don't want to eliminate the "magic numbers" entirely, perhaps we could assign symbolic constants to them?
fileobj.seek(fileobj.START) for instance?<br>-- <br>Cheers,<br>Hasan Diwan <<a href="mailto:hasan.diwan@gmail.com">hasan.diwan@gmail.com</a>>