I found How To: Determine the installation location and version of ArcGIS Desktop using Python
...with a python script to determine version and installation location but it fails with a syntax error.
python3.7 test.py
File "test.py", line 10
print "%s : %s" % (k, d)
^
SyntaxError: invalid syntax
...test.py is a copy of the provided python script at that link above.
How can I determine the following...
1. what is my current arcgis version?
2. where is it installed?
3. what is the best practice architecture?
I ask the third question because in 3 environments I work with, none of them have identical architecture and that is very frustrating. The goal, per my management, is to have the arcportal user own everything and not to have an arcserver user at all. Is that a reasonable architecture and if NO then what is the best practice for that???