Wednesday, November 19, 2025

PyScripter v5.3.1 released

PyScripter v5.3.1 is now available at Sourceforge. This is a bug fix release.  A regression in v5.3.0 and a couple of more bugs have been fixed.

Tuesday, November 11, 2025

PyScripter v5.3.0 released

PyScripter v5.3.0 is now available at Sourceforge. There are exciting new features in this release, such as the integrated code diagnostics with automated quick fixes, the refactoring support. and the built-in code formatter.  Projects have also received a facelift with the support for auto-updating folders, which was a long standing request.

  • New features:
    • Code diagnostics using ruff a very fast linter and language server
    • File Check, with issues shown in the editor
    • Fixable issues flagged in the gutter
    • Quick Fix or Ignore fixable found issues
    • Fix all command
    • Refactoring support: Organize Imports, rename, extract variable, extract function, inline
    • Built-in code formatting (Edit, Source Code, Format)
    • Added auto-refreshing project folders that mirror physical folders (#521)
    • Scrollbar annotation for highlighted search term
  • Issues addressed:

Saturday, October 18, 2025

Feature Preview: Refactoring

 The upcoming version of PyScripter introduces refactoring support, including the following refactorings:

  • Organize imports
  • Rename (shortcut: F2)
  • Extract variable
  • Extract function
  • Inline
The video below showcases the refactoring features of PyScripter.




Saturday, October 11, 2025

Feature Preview: Code checks and quick fixes

The next version of PyScripter provides an integration with Ruff, an "extremely fast Python linter and code formatter".  With the help of Ruff, PyScripter analyses your code, finds errors and provides warnings and hints. Many of the errors and warnings can be fixed automatically as shown in this short video.



Tuesday, September 16, 2025

Feature preview: File-system project folders

The next version of PyScripter will add file-system project folders, a much requested feature.  In PyScripter Project Explorer you will be able to use two types of file folders:

  • Virtual folders:  These folders allow you to organize your project files in a logical manner. For example you can have a folder for source files, another one for documentation files and another one for configuration files. These folders are just collections of files and not necessarily correspond to physical folders on disk. They may contain subfolders. You can create virtual folders using the Add commands of the folder context menu.  This is what we currently have in PyScripter.
  • File-system folders:  These folders mirror the directory structure on disk. Their content reflects the content of the physical folders and they are auto-updating when the contents of the folders on disk change, e.g. when files are added, deleted or renamed. They are created using the Import Directory folder context menu. They may also contain subfolders.

The Project Explorer uses different icons to distinguish between these two types of folder nodes. For example in the picture below, "Doc" is a virtual folder and "rpyc" a file-system one.


The updated "Import Directory" dialog box



This dialog box is accessible from the folder context menu. It allows you to import a directory into the project. In the file masks field, you can provide one or more masks separated by semi-colon that determines which file types will be imported into the project. If "Recursive" is checked subfolders will be imported too. If "Auto-update" is checked then a file-system folder will be created that will automatically refresh, whenever a change in the specified directory takes place. Otherwise, a virtual folder will be created. Finally, you have the option to add the specified directory to the project's "Extra Python Path", so that the python interpreter can find and import modules in this directory.

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.