Python pyinstaller convert py file as *.exe file

Python pyinstaller convert py file as *.exe file
pyinstaller --onefile PythonTest9.py

image

 

 

import uuid
import datetime
import timedef get_uuid_time():return f'{uuid.uuid4().hex}_{datetime.datetime.now().strftime("%Y%m%d%H%M%S%f")}'def get_time_uuid():return f'{datetime.datetime.now().strftime("%Y%m%d%H%M%S%f")}_{uuid.uuid4().hex}'arr=range(1,10001)
for a in arr:print(f'{a},{get_time_uuid()}')print(f'{a},{get_uuid_time()}')print()time.sleep(1)

 

 

 

 

 

image

 

 

image

 

 

 

 

image