Results of 1 - 10 of about 17 for scripts (0.006 sec.)
- venv --- 仮想環境の作成 12742
- venv --- 仮想環境の作成 Added in version 3.3. ソースコード: Lib/venv/ venv モジュールは、軽量な「仮想環境」の作成に対応しています。 各仮想環境は、それぞれの site ディレクトリに独立した Python パッケージ群を持ちます。 仮想環境は、インストール
...イルが配置されます。 また、Python 実行ファイルのコピーまたはシンボリックリンクを格納する bin サブディレクトリ (Windows では Scripts ) を作成します。 コピーとシンボリックリンクのどちらを使うかは、プラットフォームや環境作成時の引数に応じて決まります。 lib/...のインタプリタが仮想環境で実行しているかを判定できます。 仮想環境は、そのバイナリディレクトリ (POSIX では bin 、Windows では Scripts ) 内のスクリプトで「有効化」できます。 この操作は、ディレクトリを PATH の先頭に追加します。 その結果、 python を実行すると.../bin/activate.fish csh/tcsh $ source <venv> /bin/activate.csh pwsh $ <venv> /bin/Activate.ps1 Windows cmd.exe C:\> <venv> \Scripts\activate.bat PowerShell PS C:\> <venv> \Scripts\Activate.ps1 Added in version 3.4: fish および csh の有効化スクリプト。 Ad... - https://man.mtool.work/python/3.14/library/venv.html
- importlib.metadata -- パッケージメタデータへのアクセス 11897
- importlib.metadata -- パッケージメタデータへのアクセス Added in version 3.8. バージョン 3.10 で変更: importlib.metadata は暫定的なものではなくなりました。 ソースコード: Lib/importlib/metadata/__init__.py importlib.metadata は、インストール済
...属性 (通常は 'group' または 'name') によって選択できる、エントリポイントのコレクションも取得できます。 グループには console_scripts や distutils.commands などがあり、各グループは EntryPoint オブジェクトのコレクションを含みます。 ディストリビューションのメ...ジェクトを返します。 このオブジェクトには、便利な names 属性と groups 属性があります。 >>> sorted ( eps . groups ) ['console_scripts', 'distutils.commands', 'distutils.setup_keywords', 'egg_info.writers', 'setuptools.installation'] EntryPoints には、特定の...属性に合うエントリポイントを選ぶ select() メソッドがあります。 console_scripts グループのエントリポイントを選びます。 >>> scripts = eps . select ( group = 'console_scripts' ) entry_points() はキーワード... - https://man.mtool.work/python/3.14/library/importlib.metadata.html
- sysconfig --- Python の構成情報へのアクセスを提供する 11552
- sysconfig --- Python の構成情報へのアクセスを提供する Added in version 3.2. ソースコード: Lib/sysconfig sysconfig モジュールは、インストールパスの一覧や現在のプラットフォームに関する構成変数など、Python の構成情報へのアクセスを提供します。
...ヘッダーファイル用ディレクトリです。 platinclude : Python C API のプラットフォーム依存のヘッダーファイル用ディレクトリです。 scripts : スクリプトファイルのためのディレクトリ。 data : データファイルのためのディレクトリ。 ユーザースキーム このスキームは、グ...erbase /lib/python X.Y /site-packages purelib userbase /lib/python X.Y /site-packages include userbase /include/python X.Y scripts userbase /bin data userbase nt_user パス インストールディレクトリ stdlib userbase \Python XY platstdlib userbase \Python X...platlib userbase \Python XY \site-packages purelib userbase \Python XY \site-packages include userbase \Python XY \Include scripts userbase \Python XY \Scripts data userbase osx_framework_user パス インストールディレクトリ stdlib userbase /lib/python pl... - https://man.mtool.work/python/3.14/library/sysconfig.html
- http.server --- HTTP サーバー 10000
- http.server --- HTTP サーバー ソースコード: Lib/http/server.py このモジュールは HTTP サーバを実装するためのクラスを提供しています。 警告 http.server は本番環境での利用には推奨しません。 基本的なセキュリティチェック だけを実装しています。 利
...ver. CGIHTTPRequestHandler ( request , client_address , server ) This class is used to serve either files or output of CGI scripts from the current directory and below. Note that mapping HTTP hierarchic structure to local directory structure is exactly...as in SimpleHTTPRequestHandler . 注釈 CGI scripts run by the CGIHTTPRequestHandler class cannot execute redirects (HTTP code 302), because code 200 (script output follows)...Only directory-based CGI are used --- the other common server configuration is to treat special extensions as denoting CGI scripts. The do_GET() and do_HEAD() functions are modified to run CGI scripts and serve the output, instead of serving files, if t... - https://man.mtool.work/python/3.14/library/http.server.html
- 4. Windows で Python を使う 8811
- 4. Windows で Python を使う このドキュメントは、 Python を Microsoft Windows で使うときに知っておくべき、 Windows 固有の動作についての概要を伝えることを目的としています。 多くの Unix システムやサービスと異なり、Windows にはシステムでサポート
...ions, and the py list command will show which is current. 一般に、プロジェクトごとに 仮想環境 を作成し、ターミナルで <env>\Scripts\Activate を実行して使うことをお勧めします。 これにより、プロジェクト同士を分離し、時間が経っても一貫した環境を保ち、パッケ...will remove any modifications made to the install, including globally installed packages, but will leave site-packages and Scripts directories as is. Virtual environments are also unaffected. --dry-run を渡すと、出力とログを生成しますが、インストールは一...s. This will recreate Start menu shortcuts, registry keys, and global aliases (such as python3.14.exe or for any installed scripts). These are automatically refreshed on installation of any runtime, but may need to be manually refreshed after installing... - https://man.mtool.work/python/3.14/using/windows.html
- Pythonモジュール索引 7862
- Pythonモジュール索引 _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | z _ __future__ Future statement definitions __main__ The environment where top-level code is run. Covers command-line i
...ontrol operations. turtle An educational framework for simple graphics applications turtledemo A viewer for example turtle scripts types Names for built-in types. typing Support for type hints (see :pep:`484`). u unicodedata Access the Unicode Database.... - https://man.mtool.work/python/3.14/py-modindex.html
- 12. 仮想環境とパッケージ 7862
- 12. 仮想環境とパッケージ 12.1. はじめに Python アプリケーションは、標準ライブラリに含まれないパッケージやモジュールをよく使います。特定のバグの修正が必要だったり、古いバージョンのライブラリのインターフェイスに依存していたりするため、ライブラ
...との名前の衝突も避けられます。 仮想環境を作ったら、有効化することができます。 Windows では次を実行します: tutorial - env \ Scripts \ activate Unix や macOS では次を実行します: source tutorial - env / bin / activate (このスクリプトは bash シェル用です。... - https://man.mtool.work/python/3.14/tutorial/venv.html
- What's New in Python 2.1 7862
- What's New in Python 2.1 著者 : A.M. Kuchling はじめに この記事はPython 2.1の新機能について説明します。Python 2.1には Python 2.0ほど多くの変更点はありませんが、楽しい驚きがあります。2.1はPythonの拡張計画(PEP)を使い動かす最初のリリースであ
...py と、docstring を対話的に HTML やテキストに変換する pydoc.py です。 さらに、自動的にインストールされるようになった Tools/scripts/pydoc は、Python のモジュール名、パッケージ名、クラス名を指定すると pydoc.py を使ってドキュメントを表示します。 例えば、 p...があります。 例えば、このモジュールを使って Unix の diff プログラムに似たツールを書けます。 実際に、サンプルプログラム Tools/scripts/ndiff.py はそのようなスクリプトの書き方を示しています。 curses.panel はパネルライブラリへのラッパーであり、ncurses と SYSV... - https://man.mtool.work/python/3.14/whatsnew/2.1.html
- What's New in Python 2.2 7741
- What's New in Python 2.2 著者 : A.M. Kuchling はじめに この文書は 2002 年 10 月 14 日にリリースされた Python 2.2.2 の新機能について解説します。Python 2.2.2 は 2001 年 12 月 21 日にリリースされた Python 2.2 のバグフィックスリリースです。 Pyt
...のため weakref モジュールにいた ReferenceError 例外をビルトイン例外に移動しました。 Tim Peters による新しいスクリプト Tools/scripts/cleanfuture.py は、Python ソースコードから自動的に廃止された __future__ 文を削除します。 ビルトイン関数 compile() に flags...as added by Martin von Löwis.) Windows でのラージファイルのサポートが有効になりました。 (Contributed by Tim Peters.) Tools/scripts/ftpmirror.py スクリプトが、もしあれば、 .netrc ファイルを読むようになりました。 (Contributed by Mike Romberg.) xrange() 関... - https://man.mtool.work/python/3.14/whatsnew/2.2.html
- What's New In Python 3.2 7621
- What's New In Python 3.2 著者 : Raymond Hettinger この記事では Python 3.1 と比較した Python 3.2 の新機能を説明します。 Python 3.2 は 2011 年 2 月 20 日にリリースされました。 主な変更点をいくつか取り上げ、例を示します。 すべての詳細については
...nclude" platlib = "C:\Python32\Lib\site-packages" platstdlib = "C:\Python32\Lib" purelib = "C:\Python32\Lib\site-packages" scripts = "C:\Python32\Scripts" stdlib = "C:\Python32\Lib" Variables: BINDIR = "C:\Python32" BINLIBDEST = "C:\Python32\Lib" EXE =... - https://man.mtool.work/python/3.14/whatsnew/3.2.html