Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for from (0.14 sec)

  1. docs/de/docs/advanced/settings.md

    // Da wir die Umgebungsvariable nicht festgelegt haben, erhalten wir den Standardwert
    
    Hello World from Python
    
    // Aber wenn wir zuerst eine Umgebungsvariable erstellen
    $ export MY_NAME="Wade Wilson"
    
    // Und dann das Programm erneut aufrufen
    $ python main.py
    
    // Kann es jetzt die Umgebungsvariable lesen
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    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)
  2. docs/em/docs/advanced/settings.md

    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/settings.md

    $ python main.py
    
    // As we didn't set the env var, we get the default value
    
    Hello World from Python
    
    // But if we create an environment variable first
    $ export MY_NAME="Wade Wilson"
    
    // And then call the program again
    $ python main.py
    
    // Now it can read the environment variable
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    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)
  4. docs/zh/docs/advanced/settings.md

    然后,您可以调用该 Python 程序:
    
    <div class="termy">
    
    ```console
    // 这里我们还没有设置环境变量
    $ python main.py
    
    // 因为我们没有设置环境变量,所以我们得到默认值
    
    Hello World from Python
    
    // 但是如果我们先创建一个环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后再次调用程序
    $ python main.py
    
    // 现在它可以读取环境变量
    
    Hello Wade Wilson from Python
    ```
    
    </div>
    
    由于环境变量可以在代码之外设置,但可以由代码读取,并且不需要与其他文件一起存储(提交到 `git`),因此通常将它们用于配置或设置。
    
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
Back to top