In this video, I will show you guys how to convert python file to executable file. This video is specially important for those who have multiple imported modules in their projects.
follow me on Instagram: / ishaansharma711
code1 for setup.py:
import sys
from cx_Freeze import setup, Executable
setup( name = "pathAI", version = "3.1",
description = "pathAI",
executables = [Executable("main.py",
base = "Win32GUI")])
code2 for Cx_Freeze: pip install Cx_Freeze
code3 for build: python setup.py build
#python
#pyprojects
#pytoexe