mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
Merge pull request #958 from apjanke/console-lexer-not-bash
Use `console` lexer, not `bash`, for shell sessions
This commit is contained in:
@@ -25,7 +25,7 @@ Make sure you've got Python & pip
|
||||
Before you go any further, make sure you have Python and that it's available
|
||||
from your command line. You can check this by simply running:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ python --version
|
||||
|
||||
@@ -50,7 +50,7 @@ install the latest 3.x version from `python.org`_ or refer to the
|
||||
Additionally, you'll need to make sure you have `pip`_ available. You can
|
||||
check this by running:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pip --version
|
||||
|
||||
@@ -116,7 +116,7 @@ Pipenv manages dependencies on a per-project basis. To install packages,
|
||||
change into your project's directory (or just an empty directory for this
|
||||
tutorial) and run:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ cd myproject
|
||||
$ pipenv install requests
|
||||
@@ -175,7 +175,7 @@ use it:
|
||||
|
||||
Then you can run this script using ``pipenv run``:
|
||||
|
||||
.. code-block:: bash
|
||||
.. code-block:: console
|
||||
|
||||
$ pipenv run python main.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user