コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 2 of about 2 for PowerShell (0.001 sec.)
Virtual Environments 11228
Virtual Environments Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . When you work in Python projects you probably should use a virtual environment (or a similar m ... you install uses it. Tip Do this every time you start a new terminal session to work on the project. Linux, macOS Windows PowerShell Windows Bash $ source .venv/bin/activate $ .venv \S cripts \A ctivate.ps1 Or if you use Bash for Windows (e.g. Git Bash ): ... erything is working as expected and you are using the virtual environment you intended. Linux, macOS, Windows Bash Windows PowerShell $ which python /home/user/code/awesome-project/.venv/bin/python If it shows the python binary at .venv/bin/python , inside ... Does Activating a Virtual Environment Mean When you activate a virtual environment, for example with: Linux, macOS Windows PowerShell Windows Bash $ source .venv/bin/activate $ .venv \S cripts \A ctivate.ps1 Or if you use Bash for Windows (e.g. Git Bash ): ...
https://man.mtool.work/fastapi/0.115/virtual-environments/
環境変数 7485
環境変数 Tip もし、「環境変数」とは何か、それをどう使うかを既に知っている場合は、このセクションをスキップして構いません。 環境変数( env var とも呼ばれる)はPythonコードの 外側 、つまり OS に存在する変数で、Pythonから読み取ることができます。 ... と使用 環境変数は シェル(ターミナル) 内で 作成 して使用でき、それらにPythonは不要です。 Linux, macOS, Windows Bash Windows PowerShell // You could create an env var MY_NAME with $ export MY_NAME = "Wade Wilson" // Then you could use it with other programs, ... デフォルト値として "World" を指定しています。 次に、このPythonプログラムを呼び出します。 Linux, macOS, Windows Bash Windows PowerShell // Here we don't set the env var yet $ python main.py // As we didn't set the env var, we get the default value Hello Worl ...
https://man.mtool.work/fastapi/0.115/environment-variables/
PREV 1 NEXT