File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 99obj ["versionInfo" ] = tuple (sys .version_info )
1010obj ["sysPrefix" ] = sys .prefix
1111obj ["sysVersion" ] = sys .version
12- obj ["is64Bit" ] = sys .maxsize > 2 ** 32
12+ obj ["sysPath" ] = sys .path
13+ obj ["sysPlatform" ] = sys .platform
14+ obj ["is64Bit" ] = sys .maxsize > 2 ** 32
1315obj ["PWD" ] = os .environ .get ('PWD' )
1416obj ["VIRTUAL_ENV" ] = os .environ .get ('VIRTUAL_ENV' )
1517
16- values = json .dumps (obj )
18+ values = json .dumps (obj , indent = 4 )
1719# print(values)
1820print ('ref: ./Temp/debug/env/interpreterInfo.json' )
1921with open ('./Temp/debug/env/interpreterInfo.json' , 'w' ) as file :
Original file line number Diff line number Diff line change 44import os
55import json
66
7- values = json .dumps (dict (os .environ ))
7+ values = json .dumps (dict (os .environ ), indent = 4 )
88# print(values)
99print ('ref: ./Temp/debug/env/printEnvVariables.json' )
1010with open ('./Temp/debug/env/printEnvVariables.json' , 'w' ) as file :
You can’t perform that action at this time.
0 commit comments