Gatan | AMETEKSkip to Main Content
No options found

Output version info

Python Script

Output basic information of the used Python environment.

Preview

'''
Output basic information of the used
Python environment.
'''
import sys
import numpy as np
import DigitalMicrograph as DM

DM.ClearResults()
print('Python: ',sys.version)
print('Numpy : ',np.version.full_version)
print('Python path:',DM.GetPYTHONPATH())