Welcome back to techntips.net
Recently we published - How to protect your computer from password crackers
Today we will see how you can create exe file of your python script without using py2exe .
Follow below instruction:--
Step1:- First go to python installation folder and
copy all files to other location.
Place your python script in that location.
Step2:-- Install- Winrar.
Step3:- Now press, Windows key+R.
In run, type- notepad
Now type below code in notepad-
@echo off
python.exe tts.py
pause
exit
Replace- tts.py with name of your python
script file.
Save this file as- .bat Example- batch.bat
Step4:- Now press- Ctrl+A to select all files.
Right click on any file and select-
Add to archive.
Step5:- Now in opened window, choose option-
Create SFX archive and give any name.
Step6:- Now click on- Advanced tab.
Click on- SFX option...
Step7:- Click on - Update tab
Under overwrite mode, choose-
Overwrite all files.
Step8:- Now click on- Setup tab
In Run after extraction box, type name
of .bat file created in step3.
Step9:- Now click on- Modes tab
Choose option- Unpack to Temporary
folder.
Under silent mode, choose- Hide all
Step10:- Click on- Advanced tab
Choose- Request Administrative Access.
Step11:- Now click on - Ok .
After completion you will see an exe file there.
Share us your queries and comments.
Subscribe us to get latest computer updates free.
Recently we published - How to protect your computer from password crackers
Today we will see how you can create exe file of your python script without using py2exe .
Follow below instruction:--
Step1:- First go to python installation folder and
copy all files to other location.
Place your python script in that location.
Step2:-- Install- Winrar.
Step3:- Now press, Windows key+R.
In run, type- notepad
Now type below code in notepad-
@echo off
python.exe tts.py
pause
exit
Replace- tts.py with name of your python
script file.
Save this file as- .bat Example- batch.bat
Step4:- Now press- Ctrl+A to select all files.
Right click on any file and select-
Add to archive.
Click - Add to archive. |
Create SFX archive and give any name.
Step6:- Now click on- Advanced tab.
Click on- SFX option...
Step7:- Click on - Update tab
Under overwrite mode, choose-
Overwrite all files.
Step8:- Now click on- Setup tab
In Run after extraction box, type name
of .bat file created in step3.
Step9:- Now click on- Modes tab
Choose option- Unpack to Temporary
folder.
Under silent mode, choose- Hide all
Step10:- Click on- Advanced tab
Choose- Request Administrative Access.
Step11:- Now click on - Ok .
After completion you will see an exe file there.
Share us your queries and comments.
Subscribe us to get latest computer updates free.
0 comments:
Post a Comment