[Tutor] Help

Robert Sjoblom robert.sjoblom at gmail.com
Wed Mar 20 22:59:04 CET 2013


On Mar 20, 2013 10:49 p.m., "xDog Walker" <thudfoo at gmail.com> wrote:
>
> On Wednesday 2013 March 20 13:39, Robert Sjoblom wrote:
> > A word of advice: next is a keyword in python
>
> ~/Packages/Python/Notable-0.1.5b> python
> Python 2.5 (r25:51908, May 25 2007, 16:14:04)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import keyword
> >>> keyword.iskeyword('next')
> False
> >>>
> 14:44 Wed 2013 Mar 20
> ~/Packages/Python/Notable-0.1.5b> python2.7
> Python 2.7.2 (default, Oct 10 2011, 10:47:36)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import keyword
> >>> keyword.iskeyword('next')
> False
> >>>
> 14:44 Wed 2013 Mar 20
> ~/Packages/Python/Notable-0.1.5b> python3.3
> Python 3.3.0 (default, Sep 30 2012, 09:02:56)
> [GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import keyword
> >>> keyword.iskeyword('next')
> False
> >>>
>
> --
> Yonder nor sorghum stenches shut ladle gulls stopper torque wet
> strainers.
Fine, it's a method, my bad.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130320/b646443c/attachment.html>


More information about the Tutor mailing list