Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion docs/html/user_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ to your system, which can be run from the command prompt as follows:
``py -m pip`` executes pip using the latest Python interpreter you
have installed. For more details, read the `Python Windows launcher`_ docs.

.. note::

*Quick example for beginners*

To install a real package using pip, try the following example:

.. tab:: Unix/macOS

.. code-block:: shell
python -m pip install requests
This installs the popular `requests` library using the Python
interpreter currently in use.

.. tab:: Windows

.. code-block:: shell
py -m pip install requests
This installs the `requests` library using the latest Python
interpreter available on your system.


Installing Packages
===================
Expand Down Expand Up @@ -1300,4 +1320,4 @@ announcements on the `low-traffic packaging announcements list`_ and
.. _`0-using-system-trust-stores-for-verifying-https`:
.. rubric:: Using system trust stores for verifying HTTPS

This is now covered in :doc:`topics/https-certificates`.
This is now covered in :doc:`topics/https-certificates`.
2 changes: 2 additions & 0 deletions news/13690.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
### Added
- beginner example for Running pip section in user guide (#13690) — Mennaalazaz
Loading