Files
ortools-clone/examples/python/README.md

16 lines
501 B
Markdown
Raw Permalink Normal View History

2018-11-08 10:21:52 +01:00
# Python examples
The following examples showcase how to use OrTools.
2022-04-05 12:30:47 +02:00
These examples should work for any Python3.7+.
2018-11-08 10:21:52 +01:00
2021-03-26 16:12:14 +01:00
We recommend that all projects you create target `Python 3.9`,
2018-11-08 10:21:52 +01:00
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.
# Execution
For running the examples you can use the following command:
2018-11-08 10:21:52 +01:00
```shell
2021-03-26 16:12:14 +01:00
python3 -m pip install --upgrade --user ortools
python3 <example>.py
2018-11-08 10:21:52 +01:00
```