Tuesday, September 22, 2020

Webinar announcement: Python for Delphi developers


Webinar: September 30th, 2020 at 9 AM CDT

attendee.gotowebinar.com/register/5604566318708211727 


Why would a Delphi developer want to add Python to their toolbelt? It is all about library access and scriptability. The open-source Python4Delphi (P4D) library by Kiriakos Vlahos, the maker of the popular PyScripter Python IDE, allows you as a Delphi developer to leverage the entire collection of Python libraries directly from Delphi. It also makes it easy to easily execute Python scripts, create new Python modules, and new Python types directly from your Delphi application. Give your Delphi applications the best of both worlds! 


Join Python4Delphi and PyScripter author Kiriakos Vlahos, and Embarcadero Developer Advocate Jim McKeeth for this webinar to learn how to leverage Python in your Delphi applications on September 30th, 2020 at 9 AM CDT.


Font Ligatures are coming to PyScripter

 The forthcoming version of PyScripter will feature:

  • support for Python 3.9
  • support for VirtualEnv v20+
  • support for font ligatures
I am quite excited about font ligatures.  Fonts like Cascadia Code and Fira Code contain ligatures relevant to programming. See this article for details.   Here is a trivial example (see how -> and != are shown).








Saturday, January 25, 2020

PyScripter 3.6.3 released

PyScripter 3.6.3 is now available at Sourceforge.   This is primarily to fix an a code completion issue with numpy.  Here is the list of changes:


  • New features:
    • The status panel with text position info can now be clicked to show the "Go to line" dialog
  • Issues addressed:

Sunday, December 1, 2019

PyScripter 3.6.2 released

PyScripter 3.6.2 is now available at Sourceforge.   Here is the list of changes:

  • New features:
    • Improved compatibility with venv virtual environments
    • Restore code folding state when you start PyScripter (#973)
    • Syntax for adding and removing parameters (#971). $[proc=?Question] adds parameter proc and $[proc=] removes it
    • Improved DPI scaling
    • Highlighters and styles are now installed under ProgramData to better support multiple users on the same computer
    • Two new styles added (Calypso and Stellar)
  • Issues addressed:

Friday, September 27, 2019

Improvements in Code Completion

The next version will contain some fixes and improvements in code completion as well as in find definitions (Ctrl+Click) and references of identifiers.  For example if you have defined a class called MyClass then

MyClass().

will offer completion suggestions.  Or if my function returns an instance of a class you will get completion on the return type of the function. e.g.

myfunction().

You will also get completion suggestions on lists dictionaries and sets, i.e.

[].
{}.

And by the way string competion already works:

"abc".

Sunday, September 22, 2019

Reinstalling Windows Apps

This post is not related to PyScripter.  However some of you may find it useful.

It has happened to me before, but more recently when I installed the latest Windows 10 update many apps including Microsoft Store failed to start.  Also my Logitech keyboard started misbehaving (for instance pressing the left arrow produced the letter a).  After searching for a solution for a while I came across the following Powershell command which resolved all problems:


Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

You need to run it as administrator.  It solved all my problems. Pure magic!

Saturday, July 20, 2019

PyScripter 3.6.1 released

PyScripter 3.6.1 is now available at Sourceforge.  The main new features are support for Python 3.8 (currently in beta) and better compatibility with Anaconda distributions.   Here is the full list of changes:

  • New features:
    • Python 3.8 support. Dropped support for Python 3.0 and 3.1.
    • Compatibility with conda distributions
    • JSON and YAML file templates added
    • Three new styles added (Windows10BlackPearl, Windows10BlueWhale, Windows10ClearDay)
    • Translation improvements
    • "Always Use Sockets" IDE option is True by default (#938)
  • Issues addressed: