Wednesday, May 21, 2025

Turning your python script into an executable the easy way

 Sometimes you may want to convert your python script into a self-contained executable.   The best tool for this job is PyInstaller,  The PyScripter External Tools can simplify the process.

First you need to install PyInstaller, using the menu Tools, Tools, Install packages with pip:


Then you need to create an External Tool that uses PyInstaller to convert the active script into an executable.   Use the menu Tools, Configure Tools... and then press Add.   Configure the external tools as shown below:


With the above, all it takes to convert your script into an executable is to invoke the menu Tools, Tools, Create executable. Your executable can then be found in a subfolder of your script's folder called "dist".

If you want to learn more about external tools, consult the help file using Help, PyScripter, External Tools and Help, PyScripter, Parameters.

Saturday, May 10, 2025

PyScripter v5.2.3 released

PyScripter v5.2.3 is now available at Sourceforge. This is mainly a bug fix release.