This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch rel/0.10
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit d70cc3623193dd5e82f0443c1817aa5cd3a4194f
Author: xiangdong huang <[email protected]>
AuthorDate: Sun Aug 23 11:06:14 2020 +0800

    fix pypi readme file
---
 .gitignore                      | 3 +++
 client-py/src/SessionExample.py | 2 ++
 service-rpc/src/pypi/README.md  | 7 ++++++-
 3 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index b1fb7d9..011fd34 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,6 +4,9 @@
 **/lib/**
 **/data/**
 
+# Python runtime file
+**/__pycache__/**
+
 # Eclipse IDE files
 **/.classpath
 **/.project
diff --git a/client-py/src/SessionExample.py b/client-py/src/SessionExample.py
index 2aac6e9..74f3258 100644
--- a/client-py/src/SessionExample.py
+++ b/client-py/src/SessionExample.py
@@ -17,6 +17,8 @@
 #
 
 import sys
+# Uncomment the following line to use apache-iotdb module installed by pip3
+#import iotdb
 sys.path.append("./utils")
 from IoTDBConstants import *
 from Tablet import Tablet
diff --git a/service-rpc/src/pypi/README.md b/service-rpc/src/pypi/README.md
index 742baa0..f6a627d 100644
--- a/service-rpc/src/pypi/README.md
+++ b/service-rpc/src/pypi/README.md
@@ -51,7 +51,12 @@ You have to install thrift (>=0.13) before using the package.
 
 ## How to use (Example)
 
-You can get an example of using the package to read and write data at here: 
[Example](https://github.com/apache/incubator-iotdb/blob/rel/0.10/client-py/src/client_example.py)
+First, download the package: `pip3 install apache-iotdb`
+
+You can get an example of using the package to read and write data at here: 
[Example](https://github.com/apache/incubator-iotdb/blob/rel/0.10/client-py/src/SessionExample.py)
+
+(you need to add `import iotdb` in the head of the file)
+
 
 # DISCLAIMER
 

Reply via email to