update test and README
This commit is contained in:
parent
4d9d47ef91
commit
969ddcfbac
@ -9,6 +9,7 @@ The usage is very simple, just Create new ZK instance and you will ready to call
|
|||||||
* Basic Ussage
|
* Basic Ussage
|
||||||
```
|
```
|
||||||
import zk
|
import zk
|
||||||
|
from zk import const
|
||||||
|
|
||||||
zk = zk.ZK(ip='192.168.1.201', port=4370, timeout=5)
|
zk = zk.ZK(ip='192.168.1.201', port=4370, timeout=5)
|
||||||
try:
|
try:
|
||||||
|
2
test.py
2
test.py
@ -1,9 +1,9 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import sys
|
import sys
|
||||||
from zk import const
|
|
||||||
sys.path.append("zk")
|
sys.path.append("zk")
|
||||||
|
|
||||||
import zk
|
import zk
|
||||||
|
from zk import const
|
||||||
|
|
||||||
zk = zk.ZK('192.168.1.201')
|
zk = zk.ZK('192.168.1.201')
|
||||||
print 'Connecting to device ...'
|
print 'Connecting to device ...'
|
||||||
|
Loading…
Reference in New Issue
Block a user