mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge branch 'master' of github.com:kennethreitz/pipenv
This commit is contained in:
+8
-2
@@ -222,12 +222,18 @@ Uninstall everything::
|
||||
...
|
||||
Environment now purged and fresh!
|
||||
|
||||
Use the shell::
|
||||
Use the shell and Environment Variables::
|
||||
|
||||
$ echo "HELLO=WORLD" > .env
|
||||
$ pipenv shell
|
||||
Loading .env environment variables…
|
||||
Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return.
|
||||
$ ▯
|
||||
$ python
|
||||
Python 2.7.13 (default, Jul 18 2017, 09:17:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin
|
||||
Type "help", "copyright", "credits" or "license" for more information.
|
||||
>>> import os
|
||||
>>> os.environ['HELLO']
|
||||
'WORLD'
|
||||
|
||||
☤ Documentation
|
||||
---------------
|
||||
|
||||
Reference in New Issue
Block a user