Text processing and file creation
Arnaud Delobelle
arnodel at googlemail.com
Thu Sep 6 01:51:34 EDT 2007
On Sep 6, 12:46 am, Steve Holden <st... at holdenweb.com> wrote:
> Arnaud Delobelle wrote:
[...]
> > print "all done!" # All done
> > print "Now there are 4000 files in this directory..."
>
> > Python 3.0 - ready (I've used open() instead of file())
>
> bzzzzzzzzzzt!
>
> Python 3.0a1 (py3k:57844, Aug 31 2007, 16:54:27) ...
> Type "help", "copyright", "credits" or "license" for more information.
> >>> print "all done!" # All done
> File "<stdin>", line 1
> print "all done!" # All done
> ^
> SyntaxError: invalid syntax
> >>>
Damn! That'll teach me to make such bold claims.
At least I'm unlikely to forget again now...
--
Arnaud
More information about the Python-list
mailing list