old_contents: import _mssql
  import pymssql
  
  print('pymssql.__full_version__ = %r' % pymssql.__full_version__)
  print('_mssql.__full_version__ = %r' % _mssql.__full_version__)
  print('pymssql.get_dbversion() => %r' % pymssql.get_dbversion())
  
  try:
      print('pymssql.get_freetds_version() => %r' % pymssql.get_freetds_version())
  except AttributeError:
      pass
  
new_contents: # -*- 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()
  
subject: Print all version information in print_versions.py.