Форум сайта python.su
Как же так?
>>> Python
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
Python
NameError: name 'Python' is not defined
>>>
Офлайн
А что это за “Python”?
У меня такого тоже нет и не было никогда.
..bw
Офлайн
Isem
а что ты хотел? Загнать интерпретатор в рекурсию?
Офлайн
knkd@knkd-PC:~$ ipython
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: !ipython
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]:
Офлайн