Python walin hadapu program ekaka setup ekak hadaganne kohomada?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Table of Contents
1. Making an Executable file with auto-py-to-exe
– Installing with pip
– Running auto-py-to-exe
– Step 1: Add the script location
– Step 2: Choosing “One Directory” or “One File”
– Step 3. Choosing “Console Based” or “Window Based”
– Step 4: Advanced option(e.g. output directory, additional import)
– Step 5: Convert the file
2. Making an Executable file with PyInstaller
Link – https://towardsdatascience.com/how-to-easily-convert-a-python-script-to-an-executable-file-exe-4966e253c7e9
PyCharm wlin direct .exe ekk compile krnna ba.
ekata third party software ekk use krnna wenawa.
http://www.py2exe.org/
.exe file ekak widihata convert karanna
kohomada karanne? mama pycharm use krnne
.exe විදියට compile කරන්න ඕන.
Step 1:
Install the library pyinstaller.
Type below command in the command prompt.
Step 2:
Go into the directory where your ‘.py’ file is located.
Step 3:

Press the shift⇧ button and simultaneously right-click at the same location. You will get the below box.
Step 4:
Click on ‘Open PowerShell window here’.
You will get a window shown below.
Step 5:
Type the command given below in that PowerShell window.
Here the ‘.py’ file name is ‘1’.
See below:
In case you get an error at this point in the PowerShell window like this:
The correction while typing the above command:
Step 6:
After typing the command ‘Hit the Enter’.
It will take some time to finish the process depending on the size of the file and how big is your project.
After the processing has been finished, the window will look as below:
Step 7:
See the directory it should look like this:
‘build’ folder and ‘1.spec’ is of no use. You can delete these if you want, it will not affect your ‘.exe’ file.
Step 8:
Open ‘dist’ folder above. Here you will get your ‘.exe’ file.
Right-click on the file and check the properties.
me man internet eken hoyala gaththa ekak oya meke step follow karanna
Eka godak watinawa.
Hariiii Thank You.
google search කරන්න how to create exe file in pycharm කියලා
Ok 😊