Add python version checks and 3.4 example

This commit is contained in:
Bob McElrath committed 2017-01-19 17:17:37 -05:00
1 parent 5406d51067
commit 4bb7d1bc4d
2 files changed
+76

No files matched your search

+5
View File
@@ -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