====== 가상화_셋팅_후_테스트 ====== * description : 가상화셋팅 후 테스트(simplejson) * author : 도봉산핵주먹 * email : hylee@repia.com * lastupdate : 2020-06-17 ===== simplejson 테스트 ===== ==== 예제 코드 ==== # section03 # python 가상환경에서 설치한 simplejson 패키지 실행 # 외부 설치 패키지 테스트 import simplejson as json test_dict = {'1': 95, '4': 77, '3': 65, '5': 100, '2': 88} # simplejson 실행 print(json.dumps(test_dict, sort_keys=True, indent=4 * ' ')) ==== 실행 콘솔 ==== { "1": 95, "2": 88, "3": 65, "4": 77, "5": 100 } ===== Tip ===== {{tag>도봉산핵주먹 python 가상화패키지테스트}}