関数
♪ 関数 ★★
♪ 組み込み関数 eval 〓Python はじめました:組み込み関数 eval - 続・ひよ子のきもち〈第3版〉 compile 〓Python はじめました:組み込み関数 compile - 続・ひよ子のきもち〈第3版〉
〓Python はじめました:組み込み関数 compile: 引数 mode= - 続・ひよ子のきもち〈第3版〉
- locals
- globals
- exec
- 〓2003-03-28 Python はじめました:組み込み関数 eval
- hasattr
- setattr
- getattr
- delattr
- 〓2008-04-28 付録B 組み込み関数 getattr/setattr
- super
- isinstance
- issubclass
- classmethod
- staticmethod
- 〓2009-07-20 Java/Python 導入ガイド:《余録》staticmethod/classmethod
- vars
theme | 《基礎編》 |
---|---|
♪ 課題:スタック 《関数版》 |
課題を作成する過程を通して「関数」の理解を深めます。前に作成した「クラス」版との違いを確認します。クラスを利用せずに「クラス版」と同等の機能を実現します。 |
♪ 課題:range 《関数版》 |
組み込み関数と同等の機能を実現する過程を通して「関数」の理解を深めます。 |
□□□□□□□□□ | □ |
Python.use(better)
Python.use(better)
Python はじめました 《Python3.1|Jython2.5.1|IronPython2.6》
★ 初級/入門 ★★ 初級/基礎 ★★★ 初級/応用 ★★★★ 中級 ★★★★★ 上級
関連記事
関連記事
- Java™ Programming Language, The, 4th Edition《Contents》
- http://d.hatena.ne.jp/kotsubu-chan/20030302 #旧
- The Python Tutorial
- The Python Standard Library
- Tkinter 8.5 reference: a GUI for Python ¶
- An Introduction to Tkinter (Work in Progress) ¶
- Python で学ぶ 〜 デザインパターンの世界《Tkinter》
クラス
♪ クラス ★★
局所クラス
- 2002-04-15 Python.use(better)《余録》局所クラス -- local
- 2002-05-06 Python.use(better)《余録》インターフェース -- NotImplementedError
♪ 特殊メソッド
- 2002-05-15 Python.use(better) 特殊メソッド __contains__
- 2002-05-14 Python.use(better) 特殊メソッド __len__
- 2002-05-13 Python.use(better) 特殊メソッド __repr__
- 2002-05-16 Python.use(better) 特殊メソッド __setattr__
↑TOP
モジュール ★★
↑TOP
》作業中です《
misc.
['ArithmeticError', 'AssertionError', '', 'BaseException', 'BufferError', 'BytesWarning', 'DeprecationWarning', 'EOFError', 'Ellipsis', 'EnvironmentError', 'Exception', '', 'FloatingPointError', 'FutureWarning', 'GeneratorExit', 'IOError', 'ImportError', 'ImportWarning', '', '', 'KeyError', 'KeyboardInterrupt', 'LookupError', 'MemoryError', 'NameError', '', 'NotImplemented', '', 'OSError', 'OverflowError', 'PendingDeprecationWarning', 'ReferenceError', 'RuntimeError', 'RuntimeWarning', 'StopIteration', '', 'SyntaxWarning', 'SystemError', 'SystemExit', 'TabError', '', 'TypeError', 'UnboundLocalError', 'UnicodeDecodeError', 'UnicodeEncodeError', 'UnicodeError', 'UnicodeTranslateError', 'UnicodeWarning', 'UserWarning', '', 'Warning', '', '_', '__build_class__', '__debug__', '', '__import__', '', '__package__', 'abs', '', '', 'ascii', 'bin', '', 'bytearray', 'bytes', '', '', '', '', '', '', '', '', '', '', '', '', '', 'exit', '', '', '', 'frozenset', '', '', '', 'hash', '', '', '', 'input', '', '', '', 'iter', '', '', '', '', '', '', 'memoryview', '', 'next', '', '', '', '', 'pow', '', 'property', 'quit', '', '', '', '', '', '', 'slice', '', '', '', '', '', '', '', '', '']
from nonlocal del global as import
sorted reversed
>>> x[3] ... TypeError: 'myList' object does not support indexing >>> x[3] = 4 ... TypeError: 'myList' object does not support item assignment >>> del x[0] ... TypeError: 'myList' object doesn't support item deletion >>>