[Tutor] problem loading and array from an external file

Bill Allen wallenpb at gmail.com
Thu Aug 12 05:23:25 CEST 2010


On Wed, Aug 11, 2010 at 10:09 PM, Luke Paireepinart
<rabidpoobear at gmail.com>wrote:

> Don't pass none. It's an optional parameter. It's accepted practice to not
> pass optional parameters.
>
> Sent from my iPhone
>
> On Aug 11, 2010, at 6:46 PM, Bill Allen <wallenpb at gmail.com> wrote:
>
> >>
> >> You don't actually have to specify the None in line.split AFAIK, but
> >> it might be better to be explicit. thoughts on this, anyone?
> >>
> >> Hugo
> >>
> >
> > Hugo,
> >
> > I had wondered about the use of None in that context.  I had seen it
> > used that way in some examples and just followed suit.  Just do
> > line.split() ?
> >
> > Bill
>
> Luke,

Thanks for the confirmation on not passing None.

Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20100811/a67c31db/attachment.html>


More information about the Tutor mailing list