Найти - Пользователи
Полная версия: Неизвестный идентификатор
Начало » Python для экспертов » Неизвестный идентификатор
1
Isem
Как же так?
>>> Python
Traceback (most recent call last):
File "<pyshell#2>", line 1, in <module>
Python
NameError: name 'Python' is not defined
>>>
bw
А что это за “Python”?
У меня такого тоже нет и не было никогда.

..bw
Enchantner
Isem
а что ты хотел? Загнать интерпретатор в рекурсию?
knkd
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]:
:)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB