Re: [QGIS-Developer] Multiple python scripts in python console?

2023-05-05 Thread Yoann Quenach de Quivillic via QGIS-Developer
Hi Raymond Note that this should work "out of the box" starting from QGIS 3.32 (cf https://github.com/qgis/QGIS/pull/51912) Le ven. 5 mai 2023 à 14:50, Raymond Nijssen via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : > Hi Klaus, > > Thank you so much, it works!! > > Replying to

Re: [QGIS-Developer] 2023 grant applications are now closed

2023-05-05 Thread Anita Graser via QGIS-Developer
Hi, May 5, 2023 06:31:02 Loïc Bartoletti via QGIS-Developer : Snip >>> 8. Unify the geometric and topological verification and correction features >>> in QGIS - https://github.com/qgis/QGIS-Enhancement-Proposals/issues/262 >> >> This link points to a different proposal, and I can't work out wh

Re: [QGIS-Developer] Multiple python scripts in python console?

2023-05-05 Thread Raymond Nijssen via QGIS-Developer
Hi Klaus, Thank you so much, it works!! Replying to you and the dev list, hoping this solution will end up in the same thread. Kind regards, Raymond On 05-05-2023 12:52, Klaus Affeldt wrote: Hi Raymond, can't write to the list yet, so i answer you directly: The python console has a diff

Re: [QGIS-Developer] Profiler times in Python

2023-05-05 Thread Michel Stuyts via QGIS-Developer
Until now I always used qgis.utils.plugin_times, but I noticed the different values between this variable and the “Debugging/Development Tools” Panel. That’s the reason I wanted the profiler values. The qgis.utils.plugin_times variable has 0 loading time as value for some plugins, which is also

Re: [QGIS-Developer] Profiler times in Python

2023-05-05 Thread Etienne Trimaille via QGIS-Developer
One line I know, maybe this is enough : >>> from qgis.utils import plugin_times >>> plugin_times It's not using the profiler. Values are different from the Profiler, after a quick look... Le ven. 5 mai 2023 à 10:21, Michel Stuyts via QGIS-Developer < qgis-developer@lists.osgeo.org> a écrit : >

[QGIS-Developer] Profiler times in Python

2023-05-05 Thread Michel Stuyts via QGIS-Developer
I want to use the data on plugins from the Profiler. In the "Debugging/Development Tools" Panel I can see both the total time for all plugins and the individual time per plugin. With the following Python code, I want to get the same data in Python: profiler = QgsApplication.profiler() for chi