diff --git a/docs/en/15-programming/01-connect/01-python.md b/docs/en/15-programming/01-connect/01-python.md index 7f23d93e92966f09b58af251d01c5fa3bbad918e..24d3cd16478a7b649c521dde6a734a712d4ef702 100644 --- a/docs/en/15-programming/01-connect/01-python.md +++ b/docs/en/15-programming/01-connect/01-python.md @@ -28,6 +28,17 @@ You'll need to have Python3 installed. conda install -c conda-forge taospy ``` + + + +For the users who are familiar with Jupyter to program in Python, both TDengine Python connector and Jupyter need to be ready in your environment. + +```bash +pip install jupyterlab +pip install notebook +pip3 install -U taospy +``` + @@ -59,6 +70,17 @@ $env:TDENGINE_CLOUD_TOKEN="" $env:TDENGINE_CLOUD_URL="" ``` + + + +In order for Jupyter to connect to TDengine cloud service, before launching Jupypter, the environment setting must be performed. We use Linux bash as example. + +```bash +export TDENGINE_CLOUD_TOKEN="" +export TDENGINE_CLOUD_URL="" +jupyter notebook +``` +