- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Termynal (0.15 sec)
-
docs/de/docs/advanced/settings.md
$ echo "Hello $Env:MY_NAME" Hello Wade Wilson ``` </div> ### Umgebungsvariablen mit Python auslesen Sie können Umgebungsvariablen auch außerhalb von Python im Terminal (oder mit einer anderen Methode) erstellen und diese dann mit Python auslesen. Sie könnten zum Beispiel eine Datei `main.py` haben mit: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:17:14 GMT 2024 - 17.8K bytes - Viewed (0) -
docs/en/docs/advanced/settings.md
$ echo "Hello $Env:MY_NAME" Hello Wade Wilson ``` </div> ### Read env vars in Python You could also create environment variables outside of Python, in the terminal (or with any other method), and then read them in Python. For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World")
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu May 02 22:37:31 GMT 2024 - 15.7K bytes - Viewed (0)