per page, with , order by , clip by
Results of 1 - 10 of about 18 for Jack (0.009 sec.)
7. Input and Output — Python 3.14.8 ドキュメント 12027
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 7. Input and Output テーマ 自動 ライト ダーク | 7. Input and Output ¶ プログラムの出力方法にはいくつかの種類があります。 データを人間が読 ... をつけると、そのフィールドの最小の文字幅を指定できます。 この機能は縦を揃えるのに便利です。 >>> table = { 'Sjoerd' : 4127 , 'Jack' : 4098 , 'Dcab' : 7678 } >>> for name , phone in table . items (): ... print ( f ' { name : 10 } ==> { phone : 10d } ' ) ... ... Sjoerd ==> 4127 Jack ==> 4098 Dcab ==> 7678 他の修飾子は、フォーマットする前に値を変換するのに使えます。 '!a' は ascii() を、 '!s' は str() を、 ... ょう。これは、辞書を引数に渡して、角括弧 '[]' を使って辞書のキーを参照することで可能です。 >>> table = { 'Sjoerd' : 4127 , 'Jack' : 4098 , 'Dcab' : 8637678 } >>> print ( 'Jack: {0[Jack]:d} ; Sjoerd: {0[Sjoerd]:d} ; ' ... 'Dcab: {0[Dcab]:d} ' . format ...
https://man.mtool.work/python/3.14/tutorial/inputoutput.html
7. Input and Output — Python 3.14.8 ドキュメント 12027
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 7. Input and Output テーマ 自動 ライト ダーク | 7. Input and Output ¶ プログラムの出力方法にはいくつかの種類があります。 データを人間が読 ... をつけると、そのフィールドの最小の文字幅を指定できます。 この機能は縦を揃えるのに便利です。 >>> table = { 'Sjoerd' : 4127 , 'Jack' : 4098 , 'Dcab' : 7678 } >>> for name , phone in table . items (): ... print ( f ' { name : 10 } ==> { phone : 10d } ' ) ... ... Sjoerd ==> 4127 Jack ==> 4098 Dcab ==> 7678 他の修飾子は、フォーマットする前に値を変換するのに使えます。 '!a' は ascii() を、 '!s' は str() を、 ... ょう。これは、辞書を引数に渡して、角括弧 '[]' を使って辞書のキーを参照することで可能です。 >>> table = { 'Sjoerd' : 4127 , 'Jack' : 4098 , 'Dcab' : 8637678 } >>> print ( 'Jack: {0[Jack]:d} ; Sjoerd: {0[Sjoerd]:d} ; ' ... 'Dcab: {0[Dcab]:d} ' . format ...
https://man.mtool.work/python/3.14/tutorial/inputoutput.html
5. データ構造 — Python 3.14.8 ドキュメント 11564
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 5. データ構造 テーマ 自動 ライト ダーク | 5. データ構造 ¶ この章では、すでに学んだことについてより詳しく説明するとともに、いくつか新しいこ ... る単一のキーが辞書にあるかどうか調べるには、 in キーワードを使います。 以下に、辞書を使った簡単な例を示します: >>> tel = { 'jack' : 4098 , 'sape' : 4139 } >>> tel [ 'guido' ] = 4127 >>> tel {'jack': 4098, 'sape': 4139, 'guido': 4127} >>> tel [ 'jack' ... <module> KeyError : 'irv' >>> print ( tel . get ( 'irv' )) None >>> del tel [ 'sape' ] >>> tel [ 'irv' ] = 4127 >>> tel {'jack': 4098, 'guido': 4127, 'irv': 4127} >>> list ( tel ) ['jack', 'guido', 'irv'] >>> sorted ( tel ) ['guido', 'irv', 'jack'] ... >>> 'guido' in tel True >>> 'jack' not in tel False dict() コンストラクタは、キーと値のペアのタプルを含むリストから辞書を生成します: >>> dict ([( 'sape' , 4 ...
https://man.mtool.work/python/3.14/tutorial/datastructures.html
5. データ構造 — Python 3.14.8 ドキュメント 11410
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python チュートリアル » 5. データ構造 テーマ 自動 ライト ダーク | 5. データ構造 ¶ この章では、すでに学んだことについてより詳しく説明するとともに、いくつか新しいこ ... る単一のキーが辞書にあるかどうか調べるには、 in キーワードを使います。 以下に、辞書を使った簡単な例を示します: >>> tel = { 'jack' : 4098 , 'sape' : 4139 } >>> tel [ 'guido' ] = 4127 >>> tel {'jack': 4098, 'sape': 4139, 'guido': 4127} >>> tel [ 'jack' ... <module> KeyError : 'irv' >>> print ( tel . get ( 'irv' )) None >>> del tel [ 'sape' ] >>> tel [ 'irv' ] = 4127 >>> tel {'jack': 4098, 'guido': 4127, 'irv': 4127} >>> list ( tel ) ['jack', 'guido', 'irv'] >>> sorted ( tel ) ['guido', 'irv', 'jack'] ... >>> 'guido' in tel True >>> 'jack' not in tel False dict() コンストラクタは、キーと値のペアのタプルを含むリストから辞書を生成します: >>> dict ([( 'sape' , 4 ...
https://man.mtool.work/python/3.14/tutorial/datastructures.html
What's New in Python 2.2 — Python 3.14.8 ドキュメント 8047
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.2 テーマ 自動 ライト ダーク | What's New in Python 2.2 ¶ 著者 : A.M. Kuchling はじめに ¶ この文書は 2002 年 10 月 1 ... く見積もって、です。 ほかの、さらに特筆すべき変更のいくつかを挙げます: The code for the MacOS port for Python, maintained by Jack Jansen, is now kept in the main Python CVS tree, and many changes have been made to support MacOS X. The most significant ... framework, enabled by supplying the --enable-framework option to the configure script when compiling Python. According to Jack Jansen, "This installs a self-contained Python installation plus the OS X framework "glue" into /Library/Frameworks/Python ... th Briggs, Andrew Dalke, Fred L. Drake, Jr., Carel Fellinger, David Goodger, Mark Hammond, Stephen Hansen, Michael Hudson, Jack Jansen, Marc-André Lemburg, Martin von Löwis, Fredrik Lundh, Michael McLay, Nick Mathewson, Paul Moore, Gustavo Niemeyer, ...
https://man.mtool.work/python/3.14/whatsnew/2.2.html
What's New in Python 2.2 — Python 3.14.8 ドキュメント 8047
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New in Python 2.2 テーマ 自動 ライト ダーク | What's New in Python 2.2 ¶ 著者 : A.M. Kuchling はじめに ¶ この文書は 2002 年 10 月 1 ... く見積もって、です。 ほかの、さらに特筆すべき変更のいくつかを挙げます: The code for the MacOS port for Python, maintained by Jack Jansen, is now kept in the main Python CVS tree, and many changes have been made to support MacOS X. The most significant ... framework, enabled by supplying the --enable-framework option to the configure script when compiling Python. According to Jack Jansen, "This installs a self-contained Python installation plus the OS X framework "glue" into /Library/Frameworks/Python ... th Briggs, Andrew Dalke, Fred L. Drake, Jr., Carel Fellinger, David Goodger, Mark Hammond, Stephen Hansen, Michael Hudson, Jack Jansen, Marc-André Lemburg, Martin von Löwis, Fredrik Lundh, Michael McLay, Nick Mathewson, Paul Moore, Gustavo Niemeyer, ...
https://man.mtool.work/python/3.14/whatsnew/2.2.html
組み込み型 — Python 3.14.8 ドキュメント 7755
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » Python built-ins reference » 組み込み型 テーマ 自動 ライト ダーク | 組み込み型 ¶ 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主 ... t ( frozenset ではない) は、 set コンストラクタに加え、要素を波括弧中にカンマで区切って列挙することでも生成できます。例: {'jack', 'sjoerd'} 。 どちらのクラスのコンストラクタも同様に働きます: class set ( iterable = () , / ) ¶ class frozenset ( iterabl ... 指定されない場合、新しい空の集合が返されます。 集合はいくつかの方法で生成できます: 波括弧内にカンマ区切りで要素を列挙する: {'jack', 'sjoerd'} 集合内包表記を使う: {c for c in 'abracadabra' if c not in 'abc'} 型コンストラクタを使う: set() , set('foobar') ... り初期化された新しい辞書を返します。 辞書はいくつかの方法で生成できます: 波括弧内にカンマ区切りで key: value 対を列挙する: {'jack': 4098, 'sjoerd': 4127} あるいは {4098: 'jack', 4127: 'sjoerd'} 辞書内包表記を使う: {} , {x: x ** 2 for x in range(10)} 型 ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
What's New In Python 3.1 — Python 3.14.8 ドキュメント 7755
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.1 テーマ 自動 ライト ダーク | What's New In Python 3.1 ¶ 著者 : Raymond Hettinger This article explains the new fea ... ols.partial オブジェクトが pickle 化出来るようになりました。 (Suggested by Antoine Pitrou and Jesse Noller. Implemented by Jack Diederich; bpo-5228 .) シンボルのための pydoc ヘルプトピックが追加されました。これで対話環境で help('@') などが期待通りの働 ...
https://man.mtool.work/python/3.14/whatsnew/3.1.html
What's New In Python 3.1 — Python 3.14.8 ドキュメント 7755
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » What's New in Python » What's New In Python 3.1 テーマ 自動 ライト ダーク | What's New In Python 3.1 ¶ 著者 : Raymond Hettinger This article explains the new fea ... ols.partial オブジェクトが pickle 化出来るようになりました。 (Suggested by Antoine Pitrou and Jesse Noller. Implemented by Jack Diederich; bpo-5228 .) シンボルのための pydoc ヘルプトピックが追加されました。これで対話環境で help('@') などが期待通りの働 ...
https://man.mtool.work/python/3.14/whatsnew/3.1.html
random --- 疑似乱数を生成する — Python 3.14.8 ドキュメント 7601
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 数値と数学モジュール » random --- 疑似乱数を生成する テーマ 自動 ライト ダーク | random --- 疑似乱数を生成する ¶ ソースコード: Lib/ ... hout replacement from a deck >>> # of 52 playing cards, and determine the proportion of cards >>> # with a ten-value: ten, jack, queen, or king. >>> deal = sample ([ 'tens' , 'low cards' ], counts = [ 16 , 36 ], k = 20 ) >>> deal . count ( 'tens' ) / ...
https://man.mtool.work/python/3.14/library/random.html
PREV 1 2 NEXT