Update example/python/README.md

This commit is contained in:
Mizux
2021-03-26 16:12:14 +01:00
committed by GitHub
parent 8c86a97993
commit ef6e16c2e8

View File

@@ -1,8 +1,8 @@
# Python examples
The following examples showcase how to use OrTools.
These examples should work for both Python2.7+ and Python3.5+.
These examples should work for any Python3.6+.
We recommend that all projects you create target `Python 3.7`,
We recommend that all projects you create target `Python 3.9`,
as this allows you to keep up-to-date with the latest Python frameworks.
Wherever you have `ortools` package installed, be sure to import it from your python file.
@@ -10,6 +10,6 @@ Wherever you have `ortools` package installed, be sure to import it from your py
# Execution
For running the examples you can use the the following command:
```shell
python -m pip install --upgrade --user ortools
python <example>.py
python3 -m pip install --upgrade --user ortools
python3 <example>.py
```