「python script」を含む例文一覧(41)

  • 1.3.2 Writing a Python Script
    1.3.2 Pythonスクリプトを書く - Python
  • 1.2.4 Creating a Python script
    1.2.4 Pythonスクリプトを作成する - Python
  • 1.2.2 How to run a Python script
    1.2.2 Pythonスクリプトの走らせ方 - Python
  • 1.1.1 How to run a Python script
    1.1.1 Python スクリプトの実行方法 - Python
  • Starting with Python 2.3, a postinstallation script can be specified which the --install-script option.
    Python 2.3 からは、インストール実行後スクリプトを--install-script オプションで指定できるようになりました。 - Python
  • With these extensions, the Python script can do things like
    これらの拡張モジュール関数を使うと、Python スクリプトは - Python
  • The synthesized Python script for the named object's docstring is written to a temporary file, and then that file is run under the control of the Python debugger,
    指定したオブジェクトの docstring から合成された Python スクリプトは一時ファイルに書き出され、その後 Python デバッガ - Python
  • The string is converted to a Python script, where doctest examples in sare converted to regular code, and everything else is converted to Python comments.
    この文字列は Python スクリプトに変換され、その中では s の doctest 例題が通常のコードに、それ以外は Python のコメント文になります。 - Python
  • The first program aims to execute a function in a Python script.
    最初に例示するプログラムは、Python スクリプト内の関数を実行するためのものです。 - Python
  • The Distutils' own setup script,shown here, is used to install the package into Python 1.5.2.)
    ここで示した、Distutils 自身の setup スクリプトは、Python 1.5.2 にDistutils パッケージをインストールする際に使います。 - Python
  • This interface is intended to execute a Python script without needing to interact with the application directly.
    このインタフェースは、アプリケーションとやり取りする必要がないPython スクリプトを実行するためのものです。 - Python
  • This code loads a Python script using argv[1], and calls the function named in argv[2].
    このコードはargv[1] を使って Python スクリプトをロードし、argv[2] 内に指定された名前の関数を呼び出します。 - Python
  • A script runs from an application bundle either when it has been started with pythonw instead of python or when running as an applet.On Mac OS 9 the method always returns True.
    Mac OS 9 上ではこの関数はつねに True を返します。 - Python
  • This function is used internally by other functions (see below), but can also be useful when you want to transform an interactive Python session into a Python script.
    この関数は他の関数 (下記参照) から使われていまるが、対話セッションをPython スクリプトに変換したいような場合にも便利でしょう。 - Python
  • Whenever possible, the Distutils try to use the configuration information made available by the Python interpreter used to run thesetup.py script.
    Distutils は、可能なときにはいつでも、 setup.py スクリプトを実行する Python インタプリタが提供する設定情報を使おうとします。 - Python
  • In addition to using the Python IDE interactively, you can also type out a complete Python program, saving it incrementally, and execute it or smaller selections of it.You can create a new script, open a previously saved script, and save your currently open script by selecting the appropriate item in the``File'' menu.
    Python IDE は、対話的に使うだけでなく、Python プログラムを書き上げたり、順次保存したりでき、全体や一部分の実行もできます。 「File」メニューの適当なメニューアイテムを選択すれば新たにスクリプトを作成したり、前に保存したスクリプトを開いたり、 現在開いているスクリプトを保存したりできます。 - Python
  • While the configure script shipped with the Python sources will correctly build Python to export the symbols needed by dynamically linked extensions, this is not automatically inherited by applications which embed the Python library statically, at least on Unix.
    Python ソースと一緒についてくるconfigure スクリプトは動的にリンクされる拡張モジュールが必要とするシンボルを公開するようただしく Python をビルドしますが、この機能はPython ライブラリを静的に埋め込むようなアプリケーションには継承されません。 少なくとも Unix ではそうです。 - Python
  • 1.3.4 ``Save as'' versus ``Save as Applet'' When you are done writing your Python script you have the option of saving it as an ``applet'' (by selecting ``Save as applet'' from the``File'' menu).
    1.3.4 ``Save as'' と ``Save as Applet'' の違い Python スクリプトを書いたら、ファイルを 「アプレット」としても保存できます (``File''メニューの``Save as applet''を選びます) 。 - Python
  • This module is intended to take care of the different cases and provide a simpler interface to the Python script.
    このモジュールでは、上記のケースの違いに注意しつつ、Python スクリプトに対しては単純なインタフェースを提供しています。 - Python
  • That short script executes and verifies any interactive Python examples contained in the file example.txt.
    この短いスクリプトは、example.txt というファイルの中に入っている対話モードの Python 操作例全てを実行して、その内容を検証します。 - Python
  • The setup script is usually quite simple, although since it's written in Python, there are no arbitrary limits to what you can do with it,though you should be careful about putting arbitrarily expensive operations in your setup script.
    とはいえ、 setup スクリプト中に何かコストの大きな処理を行うときは十分注意してください。 - Python
  • If your service runs some other script (for example, bash, python, or perl),and this script later changes names (for example, foo.py to foo),then you will need to add --name to start-stop-daemon.
    もし、あなたのサービスが他のスクリプト(たとえば、bash, python または perl)を起動し、このスクリプトがその後名前が変わる(たとえばfoo.pyがfooに)ならば、--nameをstart-stop-daemonに追加する必要があるでしょう。 - Gentoo Linux
  • In a real program, you may want to get the Python script from another source, perhaps a text-editor routine, a file, or a database.
    実際のプログラムでは、Python スクリプトを他のソース、おそらくテキストエディタルーチンやファイル、データベースから取り出したいと考えるかもしれません。 - Python
  • If you compile and link this program (let's call the finished executable call), and use it to execute a Python script, such as:
    このプログラムをコンパイルしてリンクし (できた実行可能形式をcall と呼びましょう)、以下のような Pythonスクリプトを実行することにします: - Python
  • It is this environment in which the idiomatic ``conditional script''stanza causes a script to run:
    この環境はPythonスクリプトをメインプログラムとして実行される際によく使われる``条件付きスクリプト''の一節が実行される環境です。 - Python
  • See the general documentation for moreNote that saving a script as an applet will not make it runnable on a system without a Python installation.
    詳しくはPythonの標準ドキュメントを参照してください。 スクリプトをアプレットとして保存しても、 Python がインストールされていないシステムでは実行できないので注意してください。 - Python
  • You can run the script in the frontmost window of the PythonIDE by hitting the run all button.
    Python IDEの最前面のウィンドウで全部実行(run all)ボタンを押すと、そのウィンドウのスクリプトを実行できます。 - Python
  • The list of command line arguments passed to a Python script.argv[0] is the script name (it is operating system dependent whether this is a full pathname or not).
    Pythonスクリプトに渡されたコマンドライン引数のリスト。 argv[0]はスクリプトの名前となりますが、フルパス名かどうかは、オペレーティングシステムによって異なります。 - Python
  • For Unix,this will be the header generated by the configure script;for other platforms the header will have been supplied directly by the Python source distribution.
    Unixの場合、このヘッダファイルはconfigure スクリプトによって生成されるヘッダファイル名です;他のプラットフォームでは、ヘッダは Python ソース配布物中で直接与えられています。 - Python
  • Converted import libraries in Cygwin/MinGW and Borland format,and a script to create the registry entries needed for Distutils to locate the built Python.
    Cygwin/MinGW および Borland 形式に変換済みの import ライブラリと、Distutils がビルド済みの Python の場所を特定するために必要なレジストリエントリを作成するためのスクリプトがあります。 - Python
  • Like in the section about the very high level interface,the Python interpreter does not directly interact with the application (but that will change in the next section).The code to run a function defined in a Python script is:
    超高水準インタフェースに関する節で挙げた例と同様に、Python インタプリタはアプリケーションと直接やりとりはしません (が、次の節でやりとりするよう変更します)。 Python スクリプト内で定義されている関数を実行するためのコードは以下のようになります: - Python
  • macresource helps scripts finding their resources, such as dialogs and menus, without requiring special case code for when the script is run under MacPython, as a MacPython applet or under OSX Python.
    macresource はスクリプトが MacPython 上や MacPython アプレットおよび OSX Python 上で起動されている時、特別な処理をせずにダイアログやメニューなどのようなリソースを見つけるためのヘルパースクリプトです。 - Python
  • The same text documentation can also be viewed from outside the Python interpreter by runningpydoc as a script at the operating system's command prompt.For example, running
    pydocをPythonインタプリタからはなく、オペレーティングシステムのコマンドプロンプトから起動した場合でも、同じテキスト形式のドキュメントを見ることができます。 例えば、以下をshellから実行すると - Python
  • As distributed the Python library includes packages that implement the standard suites, plus packages that interface to a small number of common applications.To send AppleEvents to an application you must first create the Python package interfacing to the terminology of the application (whatScript Editor calls the "Dictionary").
    配布されている Python ライブラリは、Standard Suite を実装したパッケージに加えて、いくつかの一般的なアプリケーションへのインターフェースを実装したパッケージが含まれています。 アプリケーションに AppleEvent を送るためには、アプリケーションの用語(Script Editorが「辞書」と呼ぶもの)に接続する Python パッケージを最初に作成しなければなりません。 - Python
  • function with the difference that the first entry should refer to the script file to be executedrather than the executable hosting the Python interpreter.
    に渡したパラメタに似ていますが、最初の要素が Python インタプリタの宿主となっている実行形式の名前ではなく、実行されるスクリプト名を参照しなければならない点が違います。 - Python
  • Thus,you might think you'll never use the prefix scheme, but every time you run python setup.py install without any other options, you'reusing it.Note that installing extensions to an alternate Python installation has no effect on how those extensions are built: in particular, the Python header files (Python.h and friends) installed with the Python interpreter used to run the setup script will be used in compilingextensions.
    というわけで、読者は prefix スキームを決して使うことはあるまいと思っているかもしれませんが、python setup.py install をオプションを何もつけずに実行していれば、常に prefix スキームを使っていることになるのです。 拡張モジュールを別のインストール済み Python にインストールしても、拡張モジュールのビルド方法による影響を受けることはありません:特に、拡張モジュールをコンパイルする際には、setup スクリプトを実行する際に使う Python インタプリタと一緒にインストールされている Python ヘッダファイル (Python.h とその仲間たち) を使います。 - Python
  • The Python interpreter can get its input from a number of sources:from a script passed to it as standard input or as program argument,typed in interactively, from a module source file, etc.
    Python インタプリタは、標準入力や、プログラムの引数として与えられたスクリプト、対話的にタイプ入力された命令、モジュールのソースファイルなど、様々な入力源から入力を得ることができます。 - Python
  • If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directsPython to search modules in the current directory first.
    スクリプトのディレクトリがない(インタープリタで対話セッションで起動された時や、スクリプトを標準入力から読み込む場合など)場合、path[0]には空文字列となり、Pythonはカレントディレクトリからモジュールの検索を開始します。 - Python
  • The gensuitemodule module creates a Python package implementingstub code for the AppleScript suites that are implemented by a specific application, according to its AppleScript dictionary.It is usually invoked by the user through the PythonIDE, but it can also be run as a script from the command line (pass--help for help on the options) or imported from Python code.
    gensuitemodule モジュールは AppleScript 辞書によって特定のアプリケーションに実装されている AppleScript 群のためのスタブコードを実装した Python パッケージを作成します。 このモジュールは、通常は PythonIDE からユーザによって起動されますが、コマンドラインからスクリプトとして実行する(オプションとしてヘルプに --help を与えてみてください)こともできますし、Python コードでインポートして利用する事もできます。 - Python
  • Thus,users on the most popular platforms will be able to install most popular Python module distributions in the most natural way for their platform,without having to run a single setup script or compile a line of code.
    したがって、ほとんどの一般的なプラットフォームにおけるユーザは、setup スクリプト一つ実行せず、コードを一行たりともコンパイルしなくても、使っているプラットフォーム向けのきわめて普通の方法でほとんどの一般的な Python モジュール配布物をインストールできるでしょう。 - Python
  • You don't need to run Python or a setup script, you don't need to compileanything--you might not even need to read any instructions (althoughit's always a good idea to do so anyways).Of course, things will not always be that easy.
    Python を起動したり、 setup スクリプトを実行する必要はなく、何もコンパイルする必要はありません -- 説明書きを読む必要すら全くないかもしれません (とはいえ、説明書きを読むのはよいことですが)。 もちろん、いつもこう簡単とは限りません。 - Python

例文データの著作権について