From 40e00ad745e00ffea7694cd3a3a9421599fe8355 Mon Sep 17 00:00:00 2001 From: Harvey Maunders Date: Wed, 29 Jan 2025 17:22:57 +0000 Subject: [PATCH 1/2] Updated python readme --- client-samples/python/rest/README.md | 8 ++++---- client-samples/python/websockets/README.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client-samples/python/rest/README.md b/client-samples/python/rest/README.md index 44b9636..5bc4a0e 100644 --- a/client-samples/python/rest/README.md +++ b/client-samples/python/rest/README.md @@ -36,7 +36,7 @@ You can use `config-example.json` as a starting point. It is important to ensure that you have Python 3.9 or greater on your machine. To check if Python is on your machine perform the following: * Windows: `python --version` -* Mac/Linux: `python --version` +* Mac/Linux: `python3 --version` If the command is not recognised then you will need to install Python on your machine. This can be done by visiting where you can follow the instructions to download and install python. @@ -57,14 +57,14 @@ python client-application.py Mac/Linux: ```bash -python -m venv venv +python3 -m venv venv . venv/bin/activate -python -m pip install --upgrade pip +pip install --upgrade pip pip install -r requirements.txt pip install -r dev-requirements.txt -python client-application.py +python3 client-application.py ``` The application will launch and connect to the Morgan Stanley API offering and output the result. diff --git a/client-samples/python/websockets/README.md b/client-samples/python/websockets/README.md index 385e688..46a4a1e 100644 --- a/client-samples/python/websockets/README.md +++ b/client-samples/python/websockets/README.md @@ -44,7 +44,7 @@ websocket.enableTrace(True) It is important to ensure that you have Python 3.9 or greater on your machine. To check if Python is on your machine perform the following: * Windows: `python --version` -* Mac/Linux: `python --version` +* Mac/Linux: `python3 --version` If the command is not recognised then you will need to install Python on your machine. This can be done by visiting where you can follow the instructions to download and install python. @@ -65,13 +65,13 @@ python client.py Mac/Linux: ```bash -python -m venv venv +python3 -m venv venv . venv/bin/activate -python -m pip install --upgrade pip +pip install --upgrade pip pip install -r requirements.txt pip install -r dev-requirements.txt -python client.py +python3 client.py ``` The application will launch and connect to the Morgan Stanley API offering and output the result. From 1d77477bd687390123a61005954a5eec5d78f8cd Mon Sep 17 00:00:00 2001 From: Harvey Maunders Date: Wed, 29 Jan 2025 17:40:30 +0000 Subject: [PATCH 2/2] Updated readme --- client-samples/python/rest/README.md | 6 +++--- client-samples/python/websockets/README.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client-samples/python/rest/README.md b/client-samples/python/rest/README.md index 5bc4a0e..8ec4358 100644 --- a/client-samples/python/rest/README.md +++ b/client-samples/python/rest/README.md @@ -36,7 +36,7 @@ You can use `config-example.json` as a starting point. It is important to ensure that you have Python 3.9 or greater on your machine. To check if Python is on your machine perform the following: * Windows: `python --version` -* Mac/Linux: `python3 --version` +* Mac/Linux: `python --version` # if the version is Python 2, then use `python3` instead If the command is not recognised then you will need to install Python on your machine. This can be done by visiting where you can follow the instructions to download and install python. @@ -57,14 +57,14 @@ python client-application.py Mac/Linux: ```bash -python3 -m venv venv +python -m venv venv . venv/bin/activate pip install --upgrade pip pip install -r requirements.txt pip install -r dev-requirements.txt -python3 client-application.py +python client-application.py ``` The application will launch and connect to the Morgan Stanley API offering and output the result. diff --git a/client-samples/python/websockets/README.md b/client-samples/python/websockets/README.md index 46a4a1e..eb44387 100644 --- a/client-samples/python/websockets/README.md +++ b/client-samples/python/websockets/README.md @@ -44,7 +44,7 @@ websocket.enableTrace(True) It is important to ensure that you have Python 3.9 or greater on your machine. To check if Python is on your machine perform the following: * Windows: `python --version` -* Mac/Linux: `python3 --version` +* Mac/Linux: `python --version` # if the version is Python 2, then use `python3` instead If the command is not recognised then you will need to install Python on your machine. This can be done by visiting where you can follow the instructions to download and install python. @@ -65,13 +65,13 @@ python client.py Mac/Linux: ```bash -python3 -m venv venv +python -m venv venv . venv/bin/activate pip install --upgrade pip pip install -r requirements.txt pip install -r dev-requirements.txt -python3 client.py +python client.py ``` The application will launch and connect to the Morgan Stanley API offering and output the result.