Printing/writing an integer to a file

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Nov 17 05:16:35 CET 2006


"Steven D'Aprano" <steve at REMOVEME.cybersource.com.au> writes:

> On Fri, 17 Nov 2006 14:18:12 +1100, Ben Finney wrote:
>
> > The function call syntax doesn't allow a space between the
> > function name and the opening parenthesis.
>
> Are you sure?

Are you kidding? Do you think I'd post to this newsgroup if I wasn't
completely sure about what I wrote?

> I thought it was allowed but not recommended because it is
> hard to read.
>
> >>> len ([1, 2, 3])
> 3
>
>
> Seems to work for me.

I hope that answers your question then :-)

-- 
 \            "If you continue running Windows, your system may become |
  `\                 unstable."  -- Microsoft, Windows 95 BSOD message |
_o__)                                                                  |
Ben Finney




More information about the Python-list mailing list