The upcoming version of PyScripter introduces refactoring support, including the following refactorings:
- Organize imports
- Rename (shortcut: F2)
- Extract variable
- Extract function
- Inline
The upcoming version of PyScripter introduces refactoring support, including the following refactorings:
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.
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:
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:
If you want to learn more about external tools, consult the help file using Help, PyScripter, External Tools and Help, PyScripter, Parameters.
PyScripter v5.2.3 is now available at Sourceforge. This is mainly a bug fix release.
PyScripter v5.2.2 is now available at Sourceforge. The main new feature is the support for Grok 3, which is one of the best Large Language Models available. The reasoning variant (grok-3-mini) is also supported.
QGIS is a widely used, free and open source, GIS software package. This is an update on how to use it with PyScripter. I have used the currently latest version for Windows (3.42) but you can adapt the instructions to other recent versions of QGIS.
Create a command file "PyScripter-QGIS.cmd" with the following content:
Save it anywhere you want and run it.
Then in the PyScripter python interpreter you can do:
*** Python 3.12.9 (main, Feb 7 2025, 14:34:44) [MSC v.1938 64 bit (AMD64)] on win32. ***
*** Remote Python engine is active ***
>>> from qgis.core import *
>>> import qgis.utils
>>> from PyQt5.QtCore import QSettings
>>>
That's it.