| 例文 |
python fileの部分一致の例文一覧と使い方
該当件数 : 61件
for more information.A slightly less convenient way is to edit the site.py file inPython's standard library, and modify sys. 例文帳に追加
を読んでください。 やや便利さには欠けますが、Python の標準ライブラリ中にある site.py ファイルを編集することでも、sys.path を変更できます。 - Python
(The stream must be a Python 1.6 Unicode-wrapped file-like that performs conversion toUnicode strings.)If there is a character stream specified, the SAX parser will ignore any byte stream and will not attempt to open a URI connection to the system identifier.例文帳に追加
なお、文字ストリームが指定されても SAX パーサは無視、システム識別子とみなし、バイト・ストリームを使って URI に接続しようとします。 - Python
At the end of the file, a DEDENT token is generated foreach number remaining on the stack that is larger than zero.Here is an example of a correctly (though confusingly) indented piece of Python code:例文帳に追加
ファイルの末尾では、スタックに残っているゼロより大きい値は全て除去され、値が一つ除去されるごとに DEDENT トークンが一つ生成されます。 以下の例に正しく (しかし当惑させるように) インデントされた Pythonコードの一部を示します: - Python
The functions in this chapter will let you execute Python source code given in a file or a buffer, but they will not let you interact in a more detailed way with the interpreter.Several of these functions accept a start symbol from the grammar as a parameter.例文帳に追加
この章の関数を使うとファイルまたはバッファにあるPythonソースコードを実行できますが、より詳細なやり取りをインタプリタとすることはできないでしょう。 これらの関数のいくつかは引数として文法の開始記号を受け取ります。 - Python
An FSSpec can point to a non-existing file, as long as the folder containing the file exists.Under MacPython the same is true for a pathname, but not under unix-Pytonbecause of the way pathnames and FSRefs works.例文帳に追加
FSSpec は、実在しないファイルでも、実在するフォルダの下に配置されていることになっている限り表現できます。 MacPython ではパス名も同じように扱えますが、 unix ベースの Python ではパス名とFSRefsの挙動が異なるため扱えません。 - Python
If Python was built with the --with-universal-newlinesoption to configure (the default) this read-only attribute exists, and for files opened in universal newline read mode it keeps track of the types of newlinesencountered while reading the file.例文帳に追加
Python をビルドするとき、--with-universal-newlines オプションがconfigure に指定された場合(デフォルト)、この読み出し専用の属性が存在します。 一般的な改行に変換する読み出しモードで開かれたファイルにおいて、この属性はファイルの読み出し中に遭遇した改行コードを追跡します。 - Python
If you distribute or package many Python module distributions, you might want to put options that apply to all of them in your personal Distutils configuration file(~/.pydistutils.cfg).There are three steps to building a binary RPM package, all of which are handled automatically by the Distutils:例文帳に追加
沢山の Python モジュール配布物を配布したりパッケージ化したりしているのなら、配布物全部に当てはまるオプションを個人用の Distutils 設定ファイル (~/.pydistutils.cfg) に入れられます。 バイナリ形式の RPM パッケージを作成する際には三つの段階があり、Distutils はこれら全ての段階を自動的に処理します: - Python
The syntax for a complete Python program is that for file input,described in the next section.The interpreter may also be invoked in interactive mode; in this case,it does not read and execute a complete program but reads and executesone statement (possibly compound) at a time. 例文帳に追加
完全な Python プログラムの構文は、下の節で述べるファイル入力のためのものです。 インタプリタは、対話的モード (interactive mode) で起動されることもあります; この場合、インタプリタは完全なプログラムを読んで実行するのではなく、一度に単一の実行文 (複合文のときもあります) を読み込んで実行します。 - Python
Return in a single string any lines of comments immediately preceding the object's source code (for a class, function, or method), or at the top of the Python source file (if the object is a module).例文帳に追加
オブジェクトがクラス・関数・メソッドの何れかの場合は、オブジェクトのソースコードの直後にあるコメント行(複数行)を、単一の文字列として返します。 オブジェクトがモジュールの場合、ソースファイルの先頭にあるコメントを返します。 - Python
Compiling a Python extension written in C or C++ will sometimes require specifying custom flags for the compiler and linker in order to use a particular library or produce a special kind of object code. This is especially true if the extension hasn't been tested on your platform, or if you're trying to cross-compile Python.In the most general case, the extension author might have foreseenthat compiling the extensions would be complicated, and provided a Setup file for you to edit.例文帳に追加
C や C++ で書かれた Python 拡張をコンパイルする際、しばしば特定のライブラリを使ったり、特定の種類のオブジェクトコードを生成したりする上で、コンパイラやリンカに与えるフラグをカスタマイズする必要があります。 ある拡張モジュールが自分のプラットフォームではテストされていなかったり、クロスコンパイルを行わねばならない場合にはこれが当てはまります。 - Python
Just like the standard Python list type has a C API which permits extension modules to create and manipulate lists, this new collection type should have a set of C functions for direct manipulation from other extension modules.At first sight this seems easy: just write the functions (withoutdeclaring them static, of course), provide an appropriate header file, and document the C API.例文帳に追加
ちょうどリストを生成したり操作したりできる C API を備えた標準のPython リスト型のように、この新たなコレクション型も他の拡張モジュールから直接操作できるようにするには一連の C 関数を持っていなければなりません。 一見するとこれは簡単なこと: 単に関数を (もちろんstatic などとは宣言せずに) 書いて、適切なヘッダファイルを提供し、C APIを書けばよいだけ、に思えます。 - Python
| 例文 |
| この対訳コーパスは独立行政法人情報通信研究機構の研究成果であり、Creative Commons Attribution-Share Alike 3.0 Unportedでライセンスされています。 |
| Copyright 2001-2004 Python Software Foundation.All rights reserved. Copyright 2000 BeOpen.com.All rights reserved. Copyright 1995-2000 Corporation for National Research Initiatives.All rights reserved. Copyright 1991-1995 Stichting Mathematisch Centrum.All rights reserved. |
|
ログイン |
Weblio会員(無料)になると
|
|
ログイン |
Weblio会員(無料)になると
|