import random

from django.test import TestCase

# Create your tests here.
# import sys
# import os
# import win32com.client
#
# stat = os.system('taskkill /im D:/Users/admin/AppData/Local/Kingsoft/WPS Office/11.1.0.9739/office6/wps.exe')
#
# argc = len(sys.argv)
# print("Number of arguments:", argc, 'arguments.')
# print('Argument List:', str(sys.argv))
#
# if argc < 2 :
#     sys.exit(-1)
#
# src = sys.argv[1];
# dst = sys.argv[2];
# o = win32com.client.Dispatch("Kwps.Application")
# o.Visible=False
# doc = o.Documents.Open('d:/aa.pdf');
# doc.ExportAsFixedFormat('d:/',17)
# o.Quit();
#
# sys.exit(0)