# -*- coding: utf-8 -*-

import pymssql
import _mssql

def main():

    print("pymssql:")
    print("VERSION            :", pymssql.VERSION)
    print("version            :", pymssql.__version__)
    print("full_version       :", pymssql.__full_version__)
    print("dbversion          :", pymssql.get_dbversion())
    try:
        print("get_freetds_version :", pymssql.get_freetds_version())
    except AttributeError:
        pass

    print("_mssql:")
    print("VERSION            :", _mssql.VERSION)
    print("version            :", _mssql.__version__)
    print("full_version       :", _mssql.__full_version__)
    print("dbversion          :", _mssql.get_dbversion())
    print("login_timeout      :", _mssql.login_timeout)
    print("min_error_severity :", _mssql.min_error_severity)



if __name__ == '__main__':

    main()

@@ -18,16 +18,44 @@
 -8 -*-%0A%0A
+import platform%0Aimport sys%0A%0A
 import p
@@ -89,16 +89,337 @@
 ain():%0A%0A
+    print(%22System:%22)%0A    print(%22platform.system()       :%22, platform.system())%0A    print(%22platform.architecture() :%22, platform.architecture())%0A    if platform.system() != 'Windows':%0A        print(%22platform.libc_ver()     :%22, platform.libc_ver())%0A%0A    print(%22Python:%22)%0A    print(%22sys.version             :%22, sys.version)%0A%0A
     prin

Print system and python information in print_versions.py.