per page, with , order by , clip by
Results of 1 - 10 of about 27 for apple (0.005 sec.)
5. データ構造 13545
5. データ構造 この章では、すでに学んだことについてより詳しく説明するとともに、いくつか新しいことを追加します。 5.1. リスト型についてもう少し list 型には、他にもいくつかメソッドがあります。リストオブジェクトのすべてのメソッドを以下に示します ... allow) コピーを返します。 a[:] と同様です。 以下にリストのメソッドをほぼ全て使った例を示します: >>> fruits = [ 'orange' , 'apple' , 'pear' , 'banana' , 'kiwi' , 'apple' , 'banana' ] >>> fruits . count ( 'apple' ) 2 >>> fruits . count ( 'tangerine' ) 0 ... uits . index ( 'banana' , 4 ) # インデックス4から数えて次の banana の位置 6 >>> fruits . reverse () >>> fruits ['banana', 'apple', 'kiwi', 'banana', 'pear', 'apple', 'orange'] >>> fruits . append ( 'grape' ) >>> fruits ['banana', 'apple', 'kiwi', 'ban ... ana', 'pear', 'apple', 'orange', 'grape'] >>> fruits . sort () >>> fruits ['apple', 'apple', 'banana', 'banana', 'grape', 'kiwi', 'orange', 'pe ...
https://man.mtool.work/python/3.14/tutorial/datastructures.html
7. iOS で Python を使う 12886
7. iOS で Python を使う 著者 : Russell Keith-Magee (2024-03) iOS における Pythonは、デスクトッププラットフォームにおける Python とは異なります。 デスクトッププラットフォームでは、 Python は一般的にコンピューターのどのユーザーでも使えるシステ ... ルされます。異なる最小 iOS バージョンを使用するには、 --host 引数の一部としてバージョン番号を提供します。例えば --host=arm64-apple-ios15.4-simulator とすると、 ARM64 シミュレーター用のビルドを Deployment Target 15.4 でコンパイルします。 7.1.2. プラットフ ... ar._whiz.origin も含まなければなりません。 iOS 上では、Python インタープリタは .fwork ファイルを読み込んでインポートできる AppleFrameworkLoader をインストールします。 インポート後、バイナリモジュールの __file__ 属性は .fwork ファイルの場所を示します。 ... にあることを確認するべきです。 7.2. iOS での Python のインストール 7.2.1. iOS アプリビルド用のツール iOS 向けのビルドには、 Apple の Xcode のツールを使用します。Xcode の最新の安定リリースを使用することを強く推奨します。Apple は古い macOS のバージョン向 ...
https://man.mtool.work/python/3.14/using/ios.html
5. macOS で Python を使う 11306
5. macOS で Python を使う このドキュメントでは、Mac コンピュータで Python を使い始める際に知っておくべき、macOS 固有の挙動を概説します。 macOS を実行する Mac 上の Python は、ほかの Unix 派生プラットフォーム上の Python と非常によく似ています ... on version where possible. Current installers provide a universal2 binary build of Python which runs natively on all Macs (Apple Silicon and Intel) that are supported by a wide range of macOS versions, currently typically from at least macOS 10.15 Cat ... the release download page. Installer packages and their contents are signed and notarized with Python Software Foundation Apple Developer ID certificates to meet macOS Gatekeeper requirements . For a default installation, double-click on the download ... le are placed in /usr/local/bin/ . 注釈 最近の macOS には、 /usr/bin/python3 に python3 コマンドが含まれています。 これは、Apple の開発ツールである Xcode または Command Line Tools for Xcode によって、それらのツールで使用するために提供される Python にリ ...
https://man.mtool.work/python/3.14/using/mac.html
plistlib --- Apple .plist ファイルを生成・解析する 9183
plistlib --- Apple .plist ファイルを生成・解析する ソースコード: Lib/plistlib.py このモジュールは Apple (主に macOS と iOS) で使われる「プロパティーリスト」ファイルを読み書きするインターフェイスを提供します。このモジュールはバイナリと XML の ... サポートが追加されました。 バージョン 3.9 で変更: 古い API が削除されました。 参考 PList マニュアルページ このファイル形式の Apple の文書。 このモジュールは以下の関数を定義しています: plistlib. load ( fp , * , fmt = None , dict_type = dict , aware_datet ...
https://man.mtool.work/python/3.14/library/plistlib.html
ファイルフォーマット 8657
ファイルフォーマット この章で説明されるモジュールはマークアップやEメールでない様々なファイルフォーマットを構文解析します。 csv --- CSV File Reading and Writing Module Contents Dialects and Formatting Parameters Reader Objects Writer Objects ... ブジェクト 例外 tomllib --- TOML ファイルの解析 使用例 変換表 netrc --- netrc ファイルの処理 netrc オブジェクト plistlib --- Apple .plist ファイルを生成・解析する 使用例 他のマニュアルの関連ページ PHP xml.setup PHP xml_error_string() Linux JM netrc(5) V ...
https://man.mtool.work/python/3.14/library/fileformats.html
What's New In Python 3.1 8525
What's New In Python 3.1 著者 : Raymond Hettinger この記事では Python 3.0 と比較した Python 3.1 の新機能を説明します。 Python 3.1 は 2009 年 6 月 27 日にリリースされました。 PEP 372: 順序付き辞書 通常の Python 辞書は、 key/value ペアを不定の ... で、ソートと組み合わせて使うことで、ソートされた辞書を作れます: >>> # 通常のソートされていない辞書 >>> d = { 'banana' : 3 , 'apple' : 4 , 'pear' : 1 , 'orange' : 2 } >>> # キーでソートした辞書 >>> OrderedDict ( sorted ( d . items (), key = lambda t : t ... [ 0 ])) OrderedDict([('apple', 4), ('banana', 3), ('orange', 2), ('pear', 1)]) >>> # 値でソートした辞書 >>> OrderedDict ( sorted ( d . items (), key = ... lambda t : t [ 1 ])) OrderedDict([('pear', 1), ('orange', 2), ('banana', 3), ('apple', 4)]) >>> # キー文字列の長さでソートした辞書 >>> OrderedDict ( sorted ( d . items (), key = lambda t : len ( t [ 0 ]))) O ...
https://man.mtool.work/python/3.14/whatsnew/3.1.html
10. 標準ライブラリをひとめぐり 8130
10. 標準ライブラリをひとめぐり 10.1. オペレーティングシステムとのインターフェース os モジュールは、オペレーティングシステムと対話するための多くの関数を提供しています: >>> import os >>> os . getcwd () # Return the current working directory ' ... 10.0 random モジュールは、乱数に基づいた要素選択のためのツールを提供しています: >>> import random >>> random . choice ([ 'apple' , 'pear' , 'banana' ]) 'apple' >>> random . sample ( range ( 100 ), 10 ) # 重複なしでサンプリング [30, 83, 16, 4, 8, 81, ...
https://man.mtool.work/python/3.14/tutorial/stdlib.html
What's New In Python 3.13 8130
What's New In Python 3.13 エディタ : Adam Turner と Thomas Wouters この記事では Python 3.12 と比較した Python 3.13 の新機能を解説します。Python 3.13 は2024年10月7日にリリースされました。全詳細については 変更履歴 をご覧ください。 参考 PEP 71 ... eIs は、 typing.TypeGuard の代替として、より直感的な型の絞り込みの挙動を提供します。 プラットフォームのサポート: PEP 730 : Apple の iOS が tier 3 として 公式にサポートされるプラットフォーム となりました。 PEP 738 : Android が tier 3 として 公式にサポー ... an が更新。) モバイルプラットフォームのサポート PEP 730 : iOS が PEP 11 のサポート対象プラットフォームになりました。 arm64-apple-ios と arm64-apple-ios-simulator を tier 3 としてサポートします (それぞれ、2013 年より後に発売された iPhone と iPad、および ... Apple silicon ハードウェアで動作する Xcode の iOS シミュレーター)。 x86_64-apple-ios-simulator (古い x86_64 ハードウェアで動作す ...
https://man.mtool.work/python/3.14/whatsnew/3.13.html
operator --- 関数形式の標準演算子 7998
operator --- 関数形式の標準演算子 ソースコード: Lib/operator.py operator モジュールは、Python の組み込み演算子に対応する効率的な関数を提供します。 例えば、 operator.add(x, y) は式 x+y と同等です。 多くの関数名は、特殊メソッドの名前から二重ア ... r ( 'rank' )( soldier ) 'captain' itemgetter() を使って特定のフィールドをタプルレコードから取り出す例: >>> inventory = [( 'apple' , 3 ), ( 'banana' , 2 ), ( 'pear' , 5 ), ( 'orange' , 1 )] >>> getcount = itemgetter ( 1 ) >>> list ( map ( getcount , in ... ventory )) [3, 2, 5, 1] >>> sorted ( inventory , key = getcount ) [('orange', 1), ('banana', 2), ('apple', 3), ('pear', 5)] operator. methodcaller ( name , / , * args , ** kwargs ) 引数の name メソッドを呼び出す呼び出し可能オブ ...
https://man.mtool.work/python/3.14/library/operator.html
sysconfig --- Python の構成情報へのアクセスを提供する 7998
sysconfig --- Python の構成情報へのアクセスを提供する Added in version 3.2. ソースコード: Lib/sysconfig sysconfig モジュールは、インストールパスの一覧や現在のプラットフォームに関する構成変数など、Python の構成情報へのアクセスを提供します。 ... (その他すべて - 具体的には sys.platform が返す値) POSIX ベースの OS: linux-x86_64 macosx-15.5-arm64 macosx-26.0-universal2 (Apple Silicon または Intel 上の macOS) android-24-arm64_v8a その他の非 POSIX プラットフォームでは、現在のところ単に sys.platform ... ib = "/usr/local/lib/python3.2/site-packages" scripts = "/usr/local/bin" stdlib = "/usr/local/lib/python3.2" Variables: AC_APPLE_UNIVERSAL_BUILD = "0" AIX_GENUINE_CPLUSPLUS = "0" AR = "ar" ARFLAGS = "rc" ... これは、 get_platform() 、 get_python_versi ...
https://man.mtool.work/python/3.14/library/sysconfig.html
PREV 1 2 3 NEXT