per page, with , order by , clip by
Results of 1 - 10 of about 16 for Monty (0.011 sec.)
組み込み型 13949
組み込み型 以下のセクションでは、インタプリタに組み込まれている標準型について記述します。 主要な組み込み型は、数値、シーケンス、マッピング、クラス、インスタンス、および例外です。 コレクションクラスには、ミュータブルなものがあります。コレクシ ... 、元の文字列が返されます。 例えば: >>> 'Python' . ljust ( 10 ) 'Python ' >>> 'Python' . ljust ( 10 , '.' ) 'Python....' >>> 'Monty Python' . ljust ( 10 , '.' ) 'Monty Python' rjust() も参照してください。 str. lower ( ) 大小文字の区別のある文字 [ 4 ] をす ... 区切りの後ろの部分です。もし区切れなければ、タプルには元の文字列そのものとその後ろに二つの空文字列が入ります。 例えば: >>> 'Monty Python' . partition ( ' ' ) ('Monty', ' ', 'Python') >>> "Monty Python's Flying Circus" . partition ( ' ' ) ('Monty', ' ', ... "Python's Flying Circus") >>> 'Monty Python' . partition ( '-' ) ('Monty Python', '', '') rpartition() も参照してください。 str. removeprefix ( prefix , / ) 文 ...
https://man.mtool.work/python/3.14/builtins/stdtypes.html
sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース 11332
sqlite3 --- SQLite データベース用の DB-API 2.0 インターフェース ソースコード: Lib/sqlite3/ SQLite は、軽量なディスク上のデータベースを提供する C ライブラリです。別のサーバプロセスを用意する必要なく、 SQL クエリー言語の非標準的な一種を使用し ... び出して INSERT 文を実行し、SQL リテラルで指定した 2 行のデータを追加します。 cur . execute ( """ INSERT INTO movie VALUES ('Monty Python and the Holy Grail', 1975, 8.2), ('And Now for Something Completely Different', 1971, 7.5) """ ) INSERT 文は、変更が ... のタプルにその行の score 値が含まれています。 ここで、 cur.executemany(...) を呼び出して、さらに 3 行挿入します: data = [ ( "Monty Python Live at the Hollywood Bowl" , 1982 , 7.9 ), ( "Monty Python's The Meaning of Life" , 1983 , 7.5 ), ( "Monty Python' ... CT year, title FROM movie ORDER BY year" ): ... print ( row ) (1971, 'And Now for Something Completely Different') (1975, 'Monty Python and the Holy Grail') (1979, "Monty Python's Life of Brian") (1982, 'Monty Python Live at the Hollywood Bowl') (1983 ...
https://man.mtool.work/python/3.14/library/sqlite3.html
tarfile --- tar アーカイブファイルの読み書き 9496
tarfile --- tar アーカイブファイルの読み書き ソースコード: Lib/tarfile.py tarfile モジュールを使うと、gzip、bz2、lzma で圧縮されたものを含め、tar アーカイブを読み書きできます。 .zip ファイルの読み書きには zipfile モジュールか、 shutil の高水 ... ブを作成するには、 -c オプションの直後にアーカイブ名を指定し、その後に格納するファイル名を並べます。 $ python -m tarfile -c monty.tar spam.txt eggs.txt ディレクトリを渡すこともできます: $ python -m tarfile -c monty.tar life-of-brian_1979/ tar アーカイブ ... をカレントディレクトリに展開したい場合、 -e オプションを使用してください: $ python -m tarfile -e monty.tar ディレクトリ名を渡すことで tar アーカイブを別のディレクトリに取り出すこともできます: $ python -m tarfile -e monty.tar ... other-dir/ tar アーカイブ内のファイル一覧を表示するには -l を使用してください: $ python -m tarfile -l monty.tar コマンドラインオプション -l <tarfile> --list <tarfile> tarfile 内のファイル一覧を表示します。 -c <tarfile> <source1> . ...
https://man.mtool.work/python/3.14/library/tarfile.html
zipfile --- ZIP アーカイブの処理 9496
zipfile --- ZIP アーカイブの処理 Source code: Lib/zipfile/ ZIP は一般によく知られているアーカイブ (書庫化) および圧縮の標準ファイルフォーマットです。このモジュールでは ZIP 形式のファイルの作成、読み書き、追記、書庫内のファイル一覧の作成を行 ... ブを作成するには、 -c オプションの直後にアーカイブ名を指定し、その後に含めるファイル名を列挙します。 $ python -m zipfile -c monty.zip spam.txt eggs.txt ディレクトリを渡すこともできます: $ python -m zipfile -c monty.zip life-of-brian_1979/ ZIP アーカイブ ... を特定のディレクトリに展開したい場合、 -e オプションを使用してください: $ python -m zipfile -e monty.zip target-dir/ ZIP アーカイブ内のファイル一覧を表示するには -l を使用してください: $ python -m zipfile -l monty.zip コマン ...
https://man.mtool.work/python/3.14/library/zipfile.html
What's New In Python 3.2 9236
What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については ... tarfile , glob >>> def myfilter ( tarinfo ): ... if tarinfo . isfile (): # 通常のファイルだけを保存 ... tarinfo . uname = 'monty' # ユーザー名を置き換える ... return tarinfo >>> with tarfile . open ( name = 'myarchive.tar.gz' , mode = 'w:gz' ) as tf : ... ... for filename in glob . glob ( '*.txt' ): ... tf . add ( filename , filter = myfilter ) ... tf . list () -rw-r--r-- monty/501 902 2011-01-26 17:59:11 annotations.txt -rw-r--r-- monty/501 123 2011-01-26 17:59:11 general_questions.txt -rw-r--r-- ... monty/501 3514 2011-01-26 17:59:11 prion.txt -rw-r--r-- monty/501 124 2011-01-26 17:59:11 py_todo.txt -rw-r--r-- monty/501 1399 2011-01-26 17:59:11 semaphore_notes.txt (Proposed by Tar ...
https://man.mtool.work/python/3.14/whatsnew/3.2.html
一般 Python FAQ 8456
一般 Python FAQ 一般情報 Python とは何ですか? Python は、インタプリタ形式の、対話的な、オブジェクト指向プログラミング言語です。この言語には、モジュール、例外、動的な型付け、超高水準の動的なデータ型、およびクラスが取り入れられています。 Pyth ... 。 リストは python.org wiki https://wiki.python.org/moin/PythonBooks にあります。 また、オンライン書店で "Python" で検索し、Monty Python をフィルタで除外してもいいです (または、"Python" と "言語" で検索してください)。 www.python.org は世界のどこにあるの ... なぜ Python という名前なのですか? Python の開発が始まった頃、Guido van Rossum は 1970 年代に始まった BBC のコメディシリーズ "Monty Python's Flying Circus" の台本を読んでいました。Van Rossum は、短くて、ユニークで、少しミステリアスな名前が欲しかったので、 ...
https://man.mtool.work/python/3.14/faq/general.html
1. やる気を高めよう 8456
1. やる気を高めよう コンピュータでさまざまな作業をしていると、いずれ自動化したい作業が出てくるでしょう。例えば、多数のテキストファイルをまとめて検索・置換したり、大量の写真ファイルの名前や配置を複雑な手順で変更したりする作業です。用途に合わ ... リタをリンクし、そのアプリケーションの拡張言語や命令言語として使うこともできます。 ちなみに Python という名前は BBC の番組「Monty Python's Flying Circus」に由来し、爬虫類とは関係ありません。ドキュメントでモンティ・パイソンの寸劇に触れることは、許されて ...
https://man.mtool.work/python/3.14/tutorial/appetite.html
pathlib --- オブジェクト指向のファイルシステムパス 7936
pathlib --- オブジェクト指向のファイルシステムパス Added in version 3.4. ソースコード: Lib/pathlib/ このモジュールはファイルシステムのパスを表すクラスを提供していて、様々なオペレーティングシステムについての適切な意味論をそれらのクラスに持た ... スオブジェクトを返します。ホームディレクトリが解決できない場合は、 RuntimeError を送出します。 >>> p = PosixPath ( '~/films/Monty Python' ) >>> p . expanduser () PosixPath('/home/eric/films/Monty Python') Added in version 3.5. classmethod Path. cwd ( ) ...
https://man.mtool.work/python/3.14/library/pathlib.html
組み込み関数 7676
組み込み関数 Python インタプリタには数多くの関数と型が組み込まれており、いつでも利用できます。それらをここにアルファベット順に挙げます。 組み込み関数 A abs() aiter() all() anext() any() ascii() B bin() bool() breakpoint() bytearray() bytes( ... して末尾の改行を取り除き、その文字列を返します。 EOF を読み取ると EOFError が送出されます。 例: >>> s = input ( '--> ' ) --> Monty Python's Flying Circus >>> s "Monty Python's Flying Circus" readline モジュールが読み込まれていれば、 input() はそれを使っ ...
https://man.mtool.work/python/3.14/builtins/functions.html
json --- JSON エンコーダーとデコーダー 7676
json --- JSON エンコーダーとデコーダー ソースコード: Lib/json/__init__.py JSON (JavaScript Object Notation) は、 RFC 7159 ( RFC 4627 を obsolete) と ECMA-404 によって定義された軽量のデータ交換用のフォーマットです。 JavaScript のオブジェクト ... ます: $ python -m json mp_films.json [ { "title": "And Now for Something Completely Different", "year": 1971 }, { "title": "Monty Python and the Holy Grail", "year": 1975 } ] infile が指定されない場合、 sys.stdin から読み込みます。 outfile infile の出力 ...
https://man.mtool.work/python/3.14/library/json.html
PREV 1 2 NEXT