IconIcon

Thursday 17 April 2014

Create python script exe file without py2exe

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.
techntips.net
Click - Add to archive.
Step5:- Now in opened window, choose option-
             Create SFX archive and give any name.
techntips.net
Step6:- Now click on- Advanced tab.
              Click on- SFX option...
techntips.net
Step7:-  Click on - Update tab
             Under overwrite mode, choose-
              Overwrite all files.
techntips.net
Step8:- Now click on- Setup tab
             In Run after extraction box, type name
             of .bat file created in step3.
techntips.net
Step9:- Now click on- Modes tab
             Choose option- Unpack to Temporary
              folder.
              Under silent mode, choose- Hide all
techntips.net
Step10:- Click on- Advanced tab
               Choose- Request Administrative Access.
techntips.net
Step11:- Now click on - Ok .

After completion you will see an exe file there.
techntips.net
Share us your queries and comments.
Subscribe us to get latest computer updates free.

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...