"""
(c) Copyright 2012 Synapse Wireless, Inc.

DisplayInfo.py - A simple utility to display version number, etc.

=== Background ===

This example was almost too simple to include, BUT we have had a lot of requests
from users for this sort of capability.

=== Running DisplayInfo.py ===

This short example program has no command line parameters, and requires no configuration.

Simply do:

python DisplayInfo.py

The program (assuming SNAP Connect is correctly installed on your computer) will display
the version number of Python and SNAP Connect.

It will also display the SNAP Address of your SNAP Connect instance
(remember, this comes from the license.dat file).

Finally it displays the encryption type setting.

NOTE - the first time you run this program, you will see a "complaint" about nvparams.dat
being missing:

2012-02-20 13:51:34 ERROR: Load saver exception:
Traceback (most recent call last):
  File "snapconnect\AutoPickler.py", line 18, in loadSaver
IOError: [Errno 2] No such file or directory: 'C:\\examples\\DisplayInfo\\nvparams.dat'

This is harmless (and the program is telling the truth). There ISN'T such a file the first
time the program ever runs, but it then creates one.

For more details, refer to source file DisplayInfo.py

=== Example Output ===
C:\examples\DisplayInfo>python DisplayInfo.py
Python version is 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
Permanent license created on 2012-02-14 14:14:45.343000 for 000020
SNAP Connect version number 3.1.0
My SNAP Address is 00.00.20
Encryption is set to None

"""
