Wingware · @wingware
14 followers · 19 posts · Server masto.ai

You can create multiple selections in Wing Pro to edit similar parts of your code concurrently. See the Edit > Multiple Selections menu and wingware.com/hints/multiselect for details.

#pythonlanguage #python

Last updated 1 year ago

Wingware · @wingware
14 followers · 17 posts · Server masto.ai

You can press Shift-Space in Wing Pro to show the values of all visible symbols that are defined in the active debugger stack frame. For details see wingware.com/hints/debug-value

#python #pythonlanguage

Last updated 1 year ago

Wingware · @wingware
14 followers · 17 posts · Server masto.ai

Did you know that you can quickly select logical units of Python code in Wing Pro with Ctrl-Up and Ctrl-Down? Press the keys multiple times to select more or less of the code structure. This and other quick selection tricks are described in wingware.com/hints/quick-selec

#python #pythonlanguage

Last updated 1 year ago

Wingware · @wingware
14 followers · 17 posts · Server masto.ai

You can set conditional breakpoints in Wing Pro, to isolate the particular case you are trying to debug. Just right-click on the breakpoint margin, then use the Debug Console to try out fixes and new Python code in the live runtime state that you are writing it for.

#python #pythonlanguage #debugging

Last updated 1 year ago

Wingware · @wingware
12 followers · 14 posts · Server masto.ai

Another new feature in Wing Pro 9.1: Auto-import from the auto-completer adds both the selected symbol and the import statement necessary to use it.

#python #pythonlanguage

Last updated 1 year ago

Wingware · @wingware
12 followers · 13 posts · Server masto.ai

Wing 9.1 added code coverage for unit testing, both to track how well tests are testing your code and also so you can see which test results have been invalidated by edits you've made since you last ran your tests. For details see wingware.com/hints/unit-testin

#python #pythonlanguage #coverage

Last updated 1 year ago

Wingware · @wingware
12 followers · 13 posts · Server masto.ai

Did you know that you can move the program counter while debugging in Wing Pro? Just right-click on a line of code before the current point of execution in the innermost stack frame and select Move Program Counter Here.

There are some limitations inherited from how Python is implemented, but it is often a quick and easy way to re-inspect what happened in already-executed code, in order to find the cause of a bug.

For details see wingware.com/hints/move-progra

#python #pythonlanguage #debugging

Last updated 1 year ago

Wingware · @wingware
7 followers · 4 posts · Server masto.ai

Wing Python IDE 9.1's first Early Access Release is available, with nifty new auto-import, and code coverage features: wingware.com/wingide/early

#python #pythonlanguage

Last updated 1 year ago

Moffintosh · @moffintosh
179 followers · 6993 posts · Server berserker.town
Tan Sing Kuang · @singkuangtan
2 followers · 42 posts · Server mstdn.social
Wingware · @wingware
3 followers · 3 posts · Server masto.ai

Wing Python IDE version 9.0.2 has been released with more debugger optimizations and fixes for issues with match/case, 'python -m', and a few other usability and stability problems: wingware.com/news/2022-12-20

#python #pythonlanguage #wingware

Last updated 2 years ago

Wingware · @wingware
7 followers · 4 posts · Server masto.ai

Wing Python IDE version 9.0.2 has been released with more debugger optimizations and fixes for issues with match/case, 'python -m', and a few other usability and stability problems: wingware.com/news/2022-12-20

#python #pythonlanguage #wingware

Last updated 2 years ago

Stefan Greybeard · @StefanGreybeard
102 followers · 391 posts · Server mas.to
David Mertz · @dmertz
48 followers · 109 posts · Server mas.to

I feel like all these announcements of the exciting new capabilities of Python 3.11 bury the lead (bpo-433030: Add support of atomic grouping in regular expressions #31982).

The bug report was recently raised, in June 2001, and already we have an implementation in the standard library. Reported by the great and sadly departed Fredrik Lundh (effbot), and based on a report by Jeffrey Friedl).

#regex #pythonlanguage

Last updated 2 years ago

Soh Kam Yung · @sohkamyung
556 followers · 11288 posts · Server mstdn.io

Interesting. Imagededup: a python library for finding duplicate images.

github.com/idealo/imagededup

Via Hacker News [ news.ycombinator.com/item?id=2 ].

#software #pythonlanguage #imageprocessing

Last updated 5 years ago

Soh Kam Yung · @sohkamyung
556 followers · 11288 posts · Server mstdn.io

A heads-up that Sunsetting of Python 2 is definitely(?) going to happen on Jan 1, 2020.

"That means that we will not improve it anymore after that day, even if someone finds a security problem in it. You should upgrade to Python 3 as soon as you can."

python.org/doc/sunset-python-2

#python3 #programming #pythonlanguage #python2

Last updated 5 years ago