Results of 1 - 10 of about 15 for dave (0.016 sec.)
- ソートのテクニック — Python 3.14.8 ドキュメント 13096
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ
...をキーとしてソートすることです。例えば: >>> student_tuples = [ ... ( 'john' , 'A' , 15 ), ... ( 'jane' , 'B' , 12 ), ... ( 'dave' , 'B' , 10 ), ... ] >>> sorted ( student_tuples , key = lambda student : student [ 2 ]) # sort by age [('dave', 'B', 10),...self . age )) >>> student_objects = [ ... Student ( 'john' , 'A' , 15 ), ... Student ( 'jane' , 'B' , 12 ), ... Student ( 'dave' , 'B' , 10 ), ... ] >>> sorted ( student_objects , key = lambda student : student . age ) # sort by age [('dave', 'B', 10...で高速になります: >>> from operator import itemgetter , attrgetter >>> sorted ( student_tuples , key = itemgetter ( 2 )) [('dave', 'B', 10), ('jane', 'B', 12), ('john', 'A', 15)] >>> sorted ( student_objects , key = attrgetter ( 'age' )) [('dave', 'B'... - https://man.mtool.work/python/3.14/howto/sorting.html
- ソートのテクニック — Python 3.14.8 ドキュメント 13096
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » ソートのテクニック テーマ 自動 ライト ダーク | ソートのテクニック ¶ Author : Andrew Dalke and Raymond Hettinger Python のリストにはリストをインプレ
...をキーとしてソートすることです。例えば: >>> student_tuples = [ ... ( 'john' , 'A' , 15 ), ... ( 'jane' , 'B' , 12 ), ... ( 'dave' , 'B' , 10 ), ... ] >>> sorted ( student_tuples , key = lambda student : student [ 2 ]) # sort by age [('dave', 'B', 10),...self . age )) >>> student_objects = [ ... Student ( 'john' , 'A' , 15 ), ... Student ( 'jane' , 'B' , 12 ), ... Student ( 'dave' , 'B' , 10 ), ... ] >>> sorted ( student_objects , key = lambda student : student . age ) # sort by age [('dave', 'B', 10...で高速になります: >>> from operator import itemgetter , attrgetter >>> sorted ( student_tuples , key = itemgetter ( 2 )) [('dave', 'B', 10), ('jane', 'B', 12), ('john', 'A', 15)] >>> sorted ( student_objects , key = attrgetter ( 'age' )) [('dave', 'B'... - https://man.mtool.work/python/3.14/howto/sorting.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 8586
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...グ出力されません。 >>> mary = Person ( 'Mary M' , 30 ) # The initial age update is logged INFO:root:Updating 'age' to 30 >>> dave = Person ( 'David D' , 40 ) INFO:root:Updating 'age' to 40 >>> vars ( mary ) # The actual data is in a private attribute {...'name': 'Mary M', '_age': 30} >>> vars ( dave ) {'name': 'David D', '_age': 40} >>> mary . age # Access the data and log the lookup INFO:root:Accessing 'age' giving 30...>>> mary . birthday () # Updates are logged as well INFO:root:Accessing 'age' giving 30 INFO:root:Updating 'age' to 31 >>> dave . name # Regular attribute lookup isn't logged 'David D' >>> dave . age # Only the managed attribute is logged INFO:root:A... - https://man.mtool.work/python/3.14/howto/descriptor.html
- デスクリプタ ガイド — Python 3.14.8 ドキュメント 8586
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python HOWTO » デスクリプタ ガイド テーマ 自動 ライト ダーク | デスクリプタ ガイド ¶ Author : Raymond Hettinger Contact : <python at rcn dot com> デスクリプタ を
...グ出力されません。 >>> mary = Person ( 'Mary M' , 30 ) # The initial age update is logged INFO:root:Updating 'age' to 30 >>> dave = Person ( 'David D' , 40 ) INFO:root:Updating 'age' to 40 >>> vars ( mary ) # The actual data is in a private attribute {...'name': 'Mary M', '_age': 30} >>> vars ( dave ) {'name': 'David D', '_age': 40} >>> mary . age # Access the data and log the lookup INFO:root:Accessing 'age' giving 30...>>> mary . birthday () # Updates are logged as well INFO:root:Accessing 'age' giving 30 INFO:root:Updating 'age' to 31 >>> dave . name # Regular attribute lookup isn't logged 'David D' >>> dave . age # Only the managed attribute is logged INFO:root:A... - https://man.mtool.work/python/3.14/howto/descriptor.html
- What's new in Python 3.14 — Python 3.14.8 ドキュメント 7993
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では
...DSL を実装したりするシステムを作成できます。 (Jim Baker, Guido van Rossum, Paul Everitt, Koudai Aono, Lysandros Nikolaou, Dave Peck, Adam Turner, Jelle Zijlstra, Bénédikt Tran, Pablo Galindo Salgado の貢献による gh-132661 ) 参考 PEP 750 PEP 768 : 安...See PEP 750 for more details. (Contributed by Jim Baker, Guido van Rossum, Paul Everitt, Koudai Aono, Lysandros Nikolaou, Dave Peck, Adam Turner, Jelle Zijlstra, Bénédikt Tran, and Pablo Galindo Salgado in gh-132661 .) Improved modules ¶ argparse ¶... - https://man.mtool.work/python/3.14/whatsnew/3.14.html
- What's new in Python 3.14 — Python 3.14.8 ドキュメント 7993
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's new in Python 3.14 テーマ 自動 ライト ダーク | What's new in Python 3.14 ¶ エディタ : Adam Turner と Hugo van Kemenade この記事では
...DSL を実装したりするシステムを作成できます。 (Jim Baker, Guido van Rossum, Paul Everitt, Koudai Aono, Lysandros Nikolaou, Dave Peck, Adam Turner, Jelle Zijlstra, Bénédikt Tran, Pablo Galindo Salgado の貢献による gh-132661 ) 参考 PEP 750 PEP 768 : 安...See PEP 750 for more details. (Contributed by Jim Baker, Guido van Rossum, Paul Everitt, Koudai Aono, Lysandros Nikolaou, Dave Peck, Adam Turner, Jelle Zijlstra, Bénédikt Tran, and Pablo Galindo Salgado in gh-132661 .) Improved modules ¶ argparse ¶... - https://man.mtool.work/python/3.14/whatsnew/3.14.html
- What's New in Python 2.3 — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.3 テーマ 自動 ライト ダーク | What's New in Python 2.3 ¶ 著者 : A.M. Kuchling この文書は Python 2.3 の新機能について
...ミタを含む文字列は引用符で囲みつつカンマ区切りファイルを生成します。 参考 PEP 305 - CSV File API PEP 著と実装: Kevin Altis, Dave Cole, Andrew McNamara, Skip Montanaro, Cliff Wells. PEP 307: Pickle の機能拡張 ¶ The pickle and cPickle modules received s... - https://man.mtool.work/python/3.14/whatsnew/2.3.html
- What's New in Python 2.4 — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.4 テーマ 自動 ライト ダーク | What's New in Python 2.4 ¶ 著者 : A.M. Kuchling この文書は 2005 年 3 月 30 日にリリー
...rns a pair of connected sockets and getservbyport(port) looks up the service name for a given port number. (Contributed by Dave Cole and Barry Warsaw.) The sys.exitfunc() function has been deprecated. Code should be using the existing atexit module,... - https://man.mtool.work/python/3.14/whatsnew/2.4.html
- What's New in Python 2.7 — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.7 テーマ 自動 ライト ダーク | What's New in Python 2.7 ¶ 著者 : A.M. Kuchling (amk at amk.ca) この文書は Python 2.7
...hon . When you begin debugging an executable program P, GDB will look for a file named P-gdb.py and automatically read it. Dave Malcolm contributed a python-gdb.py that adds a number of commands useful when debugging Python itself. For example, py-up... - https://man.mtool.work/python/3.14/whatsnew/2.7.html
- What's New In Python 3.2 — Python 3.14.8 ドキュメント 7906
- ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.2 テーマ 自動 ライト ダーク | What's New In Python 3.2 ¶ 著者 : Raymond Hettinger This article explains the new fea
....' )[ 2 ] if extension in { 'xml' , 'html' , 'xhtml' , 'css' }: handle ( name ) (Patch and additional tests contributed by Dave Malcolm; bpo-6690 ). pickle モジュールを用いたデータのシリアライズ・デシリアライズが数倍速くなりました。 (Contributed by A... - https://man.mtool.work/python/3.14/whatsnew/3.2.html