Add python version checks and 3.4 example
This commit is contained in:
1 parent
5406d51067
commit
4bb7d1bc4d
2 files changed
+76
No files matched your search
@@ -11,6 +11,11 @@ import binascii
|
||||
import asyncio, zmq, zmq.asyncio
|
||||
import signal
|
||||
import struct
|
||||
import sys
|
||||
|
||||
if not (sys.version_info.major >= 3 and sys.version_info.minor >= 5):
|
||||
print("This example only works with Python 3.5 and greater")
|
||||
exit(1)
|
||||
|
||||
port = 28332
|
||||
|
||||
|
||||
Reference in new issue
Block a user