How to compact chatbot.py file

Hi everyone.

I have made chatbot directory folder as below picture… but how to compact them into one exe file for using ??

I have tried use command Pyinstaller ChatBot.py file but could not used after complete.

Pls share to me the guide.
Thanks in advance!