Status bar behavior, especially with PR 3215

2023-06-26 Thread Thomas Passin
In the status bar, a right-click brings up a two-item context menu: *Select All* and *Copy*. I have always found this a little confusing. *Copy* implies that it will copy the contents (usually the UNL), but actually you have to select it first before *Copy* will do anything. It's possible to

Re: Execute-script in leojs

2023-06-26 Thread Thomas Passin
Lovely! Felix, I have to applaud all this hard and creative work you've been doing! On Monday, June 26, 2023 at 10:26:09 PM UTC-4 Félix wrote: > People have asked about live scripting in leojs in the past (cant remember > who exactly, perhaps Thomas, but I'm not sure) > > That person inquired

Re: Code Review, Requirements, and Community Particiation

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 5:15:45 PM UTC-4 mys...@gmail.com wrote: On Mon, Jun 26, 2023, 13:34 Thomas Passin wrote: In the announcement about the proposed PR 3215 that massively affects UNLs, @Edward wrote "I won't wait for a code review. The code involved is too tricky to under

Code Review, Requirements, and Community Particiation

2023-06-26 Thread Thomas Passin
In the announcement about the proposed PR 3215 that massively affects UNLs, @Edward wrote "I won't wait for a code review. The code involved is too tricky to understand in an hour or five." This statement contains two red flags. If it's too tricky for a code review, there's something out of

Re: About PR #3215: unbreakable unls!

2023-06-26 Thread Thomas Passin
Something close to seven plugins use unls, including mod-http and quickMove. They should all be checked to see if they will still work (I don't know which of them still work apart from unl changes). -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: About PR #3215: unbreakable unls!

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 2:26:36 PM UTC-4 Edward K. Ream wrote: On Mon, Jun 26, 2023 at 12:50 PM Thomas Passin wrote: g.findGNX searches all *open* windows. The legacy version of g.handleUnl contained Leo-specific code which I deleted. Afterwards, the code called g.openWithFileName

Re: my excel file is not updated to add new data

2023-06-26 Thread Thomas Passin via Python-list
On 6/26/2023 1:46 PM, small marcc via Python-list wrote: pandas.ExcelWriter import pandas This code creates the path to the Excel file where the data will be written. It checks if the file already exists, and if so, reads the existing data into a DataFrame. Otherwise, it creates a new empty

Re: leojs alpha

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 10:09:17 AM UTC-4 jkn wrote: If the former, I'm wondering how 'upstream' work on Leo gets incorporated. If the latter, I'm curious about the process... Keeping two code bases synchronized is nearly impossible in the long run. Each one evolves in its own way, and

Re: Leo active file bug and how to get the content of unl

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 1:47:07 PM UTC-4 Edward K. Ream wrote: On Sun, Jun 25, 2023 at 10:22 AM Thomas Passin wrote: > Great! And if you want to do the same for a UNL in another outline, you can add these two lines (at least until that PR gets merged; I don't know about af

Re: Leo active file bug and how to get the content of unl

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 1:29:24 PM UTC-4 Edward K. Ream wrote: On Sun, Jun 25, 2023 at 7:51 AM Thomas Passin wrote: "Remove support for cross-file UNLs" - WTF??? This will break some of my scripts. How are we going to navigate to other outlines by UNL? Wasn't that half of

Re: About PR #3215: unbreakable unls!

2023-06-26 Thread Thomas Passin
After checking out the branch for this PR: 1. CTRL-clicking on an old-style unl pointing into the same outline navigates to the right node; for a unl pointing into a different outline it does not navigate to the right place or even the right outline. 2. Both the bookmark manager and the

Re: About PR #3215: unbreakable unls!

2023-06-26 Thread Thomas Passin
On Monday, June 26, 2023 at 7:34:57 AM UTC-4 Edward K. Ream wrote: On Sun, Jun 25, 2023 at 10:44 PM Thomas Passin wrote: Actually, bookmarks and zettelkasten should work *better* than before, provided: - they use the *new* p.get_UNL() and - they work with both legacy and new unls, which

Re: About PR #3215: unbreakable unls!

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 10:36:32 PM UTC-4 Edward K. Ream wrote: On Sun, Jun 25, 2023 at 4:48 PM Thomas Passin wrote: So now my bookmarks manager will not work, something I use every day and depend on. I suppose I will have to pull out code from the attic and put it into my own module

Re: About PR #3215: unbreakable unls!

2023-06-25 Thread Thomas Passin
So now my bookmarks manager will not work, something I use every day and depend on. I suppose I will have to pull out code from the attic and put it into my own module. Or recreate the pathlike part of the functionality, anyway. I'm unclear as to whether the gnx string for a given node -

Re: About PR #3215: unbreakable unls!

2023-06-25 Thread Thomas Passin
I would rather have created a new gnx:// type and left existing unls alone. Will existing UNL syntax and methods still work? On Sunday, June 25, 2023 at 12:00:26 PM UTC-4 Edward K. Ream wrote: > PR #3215 changes > many files in complex

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 10:20:28 AM UTC-4 iamap...@gmail.com wrote: c0, p0 = c, c.p c2 = g.handleUnl(unl, c) content = c2.p.b # < here is the content of the UNL's body c0.selectPosition(p) Oops, typo! The last line should read c0.selectPosition(p0) Hi, Thomas, It works, thank you!

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
ike markdown `[something](unl://xxx)` or even > pass parameter to that schema if the unl is a script... > `unl://x?para1=leo` > > On Sun, Jun 25, 2023 at 9:07 PM Thomas Passin wrote: > >> On Sunday, June 25, 2023 at 9:05:20 AM UTC-4 Thomas Passin wrote: >> >>

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 9:05:20 AM UTC-4 Thomas Passin wrote: On Sunday, June 25, 2023 at 8:43:25 AM UTC-4 iamap...@gmail.com wrote: For now, my UNL points to a position of the current outline. Could we have a quick way to get it? Assuming that these commands will continue to work after

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 8:43:25 AM UTC-4 iamap...@gmail.com wrote: For now, my UNL points to a position of the current outline. Could we have a quick way to get it? Assuming that these commands will continue to work after the PR: c0, p0 = c, c.p c2 = g.handleUnl(unl, c) content = c2.p.b

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
"Remove support for cross-file UNLs" - WTF??? This will break some of my scripts. How are we going to navigate to other outlines by UNL? Wasn't that half of the point of having UNLs in the first place? This looks like a situation where we should be adding a new API method, not changing how

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 7:59:09 AM UTC-4 iamap...@gmail.com wrote: Would you explain more fully what you mean by "access the content of..."? One way is to CTRL-click on the UNL's string in a body node. This will navigate you to that location, opening the outline if necessary. It

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 3:27:38 AM UTC-4 iamap...@gmail.com wrote: [snip] 2. Is there a simple method to access the content of a specific `unl://` node? I found `core/LeoPyRef.leo#Code-->Core classes-->@file leoGlobals.py-->g.Urls & UNLs`, but it doesn't seem to provide the right

Re: Leo active file bug and how to get the content of unl

2023-06-25 Thread Thomas Passin
On Sunday, June 25, 2023 at 3:27:38 AM UTC-4 iamap...@gmail.com wrote: [snip] 2. Is there a simple method to access the content of a specific `unl://` node? I found `core/LeoPyRef.leo#Code-->Core classes-->@file leoGlobals.py-->g.Urls & UNLs`, but it doesn't seem to provide the right function

Re: TKinter in Python - advanced notions

2023-06-23 Thread Thomas Passin via Python-list
On 6/23/2023 4:16 AM, Andreas Heckel via Python-list wrote: Hi, Apologies for potentially mis-using this thread. But I have been struggling recently making exactly this leap from simple GUI examples to a more elaborate MVVM concept. Mainly I have been struggling finding nice example python

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Thomas Passin
Oh, I see. If it's an external file with sentinels it could be tricky because you'd have to unindent the correct block the right amount, sentinels and all. I just succeeded with an @file tree, but it would be easy to mess it up. I converted the file to an @clean file and when I unindented

Re: expected behavior for removing spaces before lines outputed by an indented '@others'

2023-06-23 Thread Thomas Passin
My expectation is that all lines in the @others subtree will be additionally indented by the indentation of the "@others" string. That's how I have always used it. I just tried it out in a little outline similar to yours, and that's what I saw in the external file. So if the @others line is

Re: ChatGPT Helpful In Translating Tables

2023-06-22 Thread Thomas Passin
Even copying selected text out of a pdf file can be unpleasant. Often there will be no newlines, so words may run together when they were visually separated by a line break. On Thursday, June 22, 2023 at 8:52:14 AM UTC-4 David Szent-Györgyi wrote: > On Sunday, June 18, 2023 at 11:06:30 PM

Re: File system path annotations

2023-06-19 Thread Thomas Passin via Python-list
On 6/19/2023 10:04 AM, Roel Schroeven via Python-list wrote: Op 19/06/2023 om 11:44 schreef Peter Slížik: Thank you, Roel. You've answered all my questions. > [PEP 519]: ...as that can be represented with typing.Union[str, bytes, os.PathLike] easily enough and the hope is users > will slowly

Re: Please test PR #3398 in the ekr-fix-test branch

2023-06-19 Thread Thomas Passin
Various Linuces: 3.11 Manjaro: leo\unittests\test_importers.py ...s... [ 5%] warnings summary leo/plugins/leo_babel/tests/lib_test.py:118

Re: Please test PR #3398 in the ekr-fix-test branch

2023-06-19 Thread Thomas Passin
On Windows 10, py -3.xx pytest: python 3.11: leo\unittests\test_importers.py ...s... [ 5%] warnings summary leo\plugins\leo_babel\tests\lib_test.py:118

ChatGPT Helpful In Translating Tables

2023-06-18 Thread Thomas Passin
Very thoughtful piece by Jon Udell - Why LLM-assisted table transformation is a big deal . -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Re: Please test Leo's options code in devel

2023-06-18 Thread Thomas Passin
Python 3.10 on Ubuntu: === warnings summary === leo/plugins/leo_babel/tests/lib_test.py:118 /home/tom/git/leo-editor/leo/plugins/leo_babel/tests/lib_test.py:118: PytestCollectionWarning: cannot collect test class 'TestCmdr' because it

Re: Please test Leo's options code in devel

2023-06-18 Thread Thomas Passin
Python 3.9 on Linux Mint: === warnings summary === leo/plugins/leo_babel/tests/lib_test.py:118 /home/tom/git/leo-editor/leo/plugins/leo_babel/tests/lib_test.py:118: PytestCollectionWarning: cannot collect test class 'TestCmdr' because

Re: Please test Leo's options code in devel

2023-06-18 Thread Thomas Passin
18, 2023 at 10:09:05 PM UTC-4 Thomas Passin wrote: > On Windows 10, python 3.11, pytest passes all tests. python 3.10: > > warnings summary > leo\plugins\leo_babel\tests\lib_test.py:118 > C:\Tom\git\leo-editor\leo\plugins\

Re: Please test Leo's options code in devel

2023-06-18 Thread Thomas Passin
On Windows 10, python 3.11, pytest passes all tests. python 3.10: warnings summary leo\plugins\leo_babel\tests\lib_test.py:118 C:\Tom\git\leo-editor\leo\plugins\leo_babel\tests\lib_test.py:118: PytestCollectionWarning: cannot collect

Re: PR #3397 (screen shots) is ready for review

2023-06-18 Thread Thomas Passin
Oh, I misunderstood. I thought you meant that the PR had already been merged. What I'm looking at in the plugins directory must be the old version. On Sunday, June 18, 2023 at 2:06:53 PM UTC-4 Thomas Passin wrote: > It's in the plugins directory but not in LeoPyRef as yet. There is a

Re: PR #3397 (screen shots) is ready for review

2023-06-18 Thread Thomas Passin
It's in the plugins directory but not in LeoPyRef as yet. There is also a screen_capture.py plugin ... how do they differ? On Sunday, June 18, 2023 at 1:59:15 PM UTC-4 Edward K. Ream wrote: > PR #3397 : > > 1. Removes all traces of the

Distutils Will Be Gone From The Standard Library In Python 3.12

2023-06-17 Thread Thomas Passin
I don't know if Leo uses distutils in any way, but it won't be in the standard library any more. It has been absorbed into *setuptools*, so its features aren't really gone, but how to use them will change. -- You received this message because you are

Re: Open new window

2023-06-17 Thread Thomas Passin
On Saturday, June 17, 2023 at 2:16:13 PM UTC-4 Thomas Passin wrote: I've attached an image file illustrating this (this example was provided by @wangzhaohe). I meant to write "this asciidoc markup was provided by @wangzhaohe". -- You received this message because you are

Re: PR #3390 (more options work) merged into devel

2023-06-17 Thread Thomas Passin
Run from the leo-editor directory: py -m pytest [snip] leo\unittests\core\test_leoImport.py:106: AssertionError warnings summary leo\plugins\leo_babel\tests\lib_test.py:118

Re: Open new window

2023-06-17 Thread Thomas Passin
Yes, but just how depends on what you mean. For example, you can open a Qt window that displays MatPlotLib or Qt graphics. Or, if within Leo you run some MatPlotLib code, the pyplot.plot() command will open a window to display the plots. You can also run code for a system like Bokeh or

Re: Enum + new in 3.11

2023-06-16 Thread Thomas Passin via Python-list
On 6/16/2023 7:37 PM, dn via Python-list wrote: On 16/06/2023 23.47, Thomas Passin via Python-list wrote: On 6/16/2023 1:40 AM, dn via Python-list wrote: Have you figured-out a use for the @enum.member and @enum.nonmember decorators (new in Python 3.11)? mypy is having trouble with 3.11

Re: New argument processing code merged into devel

2023-06-16 Thread Thomas Passin
One additional idea you might entertain as long as you are thinking about argument parsing functions. Most command line processing functions return a string, and it is up to the downstream code to convert it to an int, float, whatever. My own - overly simple, for sure - includes an optional

Re: Enum + new in 3.11

2023-06-16 Thread Thomas Passin via Python-list
On 6/16/2023 1:40 AM, dn via Python-list wrote: Have you figured-out a use for the @enum.member and @enum.nonmember decorators (new in Python 3.11)? "What's New" says: Added the member() and nonmember() decorators, to ensure the decorated object is/is not converted to an enum member. The

Re: Discuss: don't use argparse to handle command-line arguments

2023-06-15 Thread Thomas Passin
er is missing its required value' % param raise ValueError(msg) return option On Thursday, June 15, 2023 at 8:50:14 AM UTC-4 Thomas Passin wrote: > I wrote my own a few years ago. It was simple to use and understand. It > was too simple, perhaps, but it did what I needed for a

Re: Discuss: don't use argparse to handle command-line arguments

2023-06-15 Thread Thomas Passin
I wrote my own a few years ago. It was simple to use and understand. It was too simple, perhaps, but it did what I needed for a range of small programs. The only thing it doesn't do is to flag unknown options: it ignores them instead. I say, if you don't need all the complexity of argparse

Re: Improved recursive import in devel. Please update scripts

2023-06-14 Thread Thomas Passin
On Wednesday, June 14, 2023 at 11:06:01 AM UTC-4 Edward K. Ream wrote: On Wed, Jun 14, 2023 at 8:06 AM Edward K. Ream wrote: On Wednesday, June 14, 2023 at 8:00:08 AM UTC-5 Edward K. Ream wrote: PR #3363 improves the outlines created by

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 9:43 PM, gene heskett via Python-list wrote: On 6/13/23 19:10, Thomas Passin via Python-list wrote: On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website

Re: Fwd: AUTO EDITOR DIDN'T WORK

2023-06-13 Thread Thomas Passin via Python-list
On 6/13/2023 5:32 PM, Alan Gauld via Python-list wrote: Okay thanks. Meanwhile, I am not tech savvy so I may not say much here. I followed all the commands as given on the website to install auto editor standing it on python but after rendering the XML file, I couldn't open it with my Davinci

Mint/XFCE Update May Cause Viewrendered3 Plugin to Crash Leo

2023-06-13 Thread Thomas Passin
It may even crash the whole system. This is not a bug in VR3, but some disconnect between a XFCE change in the OpenGL graphics version and its support. Other projects have had the same problem. The error message is strange, supposedly from vmware: "vmw_ioctl_command error Cannot allocate

Re: AUTO EDITOR DIDN'T WORK

2023-06-12 Thread Thomas Passin via Python-list
On 6/12/2023 5:26 AM, Real Live FootBall Tv via Python-list wrote: I recently Installed and Uninstalled Python, hence the system was trying to get why I UNINSTALLED python. I did it because I was going to use it with another application, A VIDEO EDITING APP, Auto EDITOR but it didn't work for

Re: What Was I Working On???

2023-06-11 Thread Thomas Passin
with the @string setting notelog. On Wednesday, May 17, 2023 at 10:35:54 AM UTC-4 Thomas Passin wrote: > Trying it out got me to thinking that it would be handy to be able to log > quick little notes. The following script writes the cursor line on the > body to a note log file, who

New Mono-spaced Font From Intel

2023-06-10 Thread Thomas Passin
Intel has open-sourced a new monospaced font family called "IntelOne Mono". It's available via GitHub . They say it was developed to be very readable even for people with visual handicaps or for developers whose eyes get irritated by long hours staring

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/10/2023 3:20 PM, Eryk Sun wrote: On 6/10/23, Thomas Passin via Python-list wrote: Yes; I didn't want to get too esoteric with commands that are hard to figure out and remember, because then why not use Powershell, whose commands are hard to figure out and remember? Using `dir /s [/ad

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/10/2023 12:32 PM, Eryk Sun wrote: On 6/10/23, Thomas Passin via Python-list wrote: We can find pip.exe using good old-fashioned dir (we don't need any new-fangled Powershell): C:\Users\tom>dir AppData\Local\Programs\Python /Aa /S /W /B |find "pip"|find "Scr

Re: Another mass update: PR #3367

2023-06-10 Thread Thomas Passin
That trystar error shows up on my Windows 3.11 machine too: C:\Tom\git\leo-editor\leo\scripts>test-leo test-leo

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-10 Thread Thomas Passin via Python-list
On 6/9/2023 1:43 PM, Dennis Lee Bieber via Python-list wrote: On Thu, 8 Jun 2023 17:22:22 -0400, Thomas Passin declaimed the following: On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote: C:\Users\Owner> -=-=- Windows PowerShell Copyright (C) Microsoft Corporation. All rig

Re: Another mass update: PR #3367

2023-06-09 Thread Thomas Passin
Leo loaded using Python 3.11 on Windows. So that's good. On Friday, June 9, 2023 at 2:04:31 PM UTC-4 Edward K. Ream wrote: > PR #3367 imports > Callable from collections.abc instead of typing. typing.Callable is > deprecated, but is not

Re: @auto-ms does not get along with Leo's clones

2023-06-09 Thread Thomas Passin
You might try ```shell too. On Wednesday, June 7, 2023 at 5:58:24 AM UTC-4 p.os...@datec.at wrote: > Hm, for now it seems a wrong ```-clause (markdown) being the reason for > all the hassle: Replaced all ```bash by ```sh. I'll see if this holds for > clones as well (have to intro them again).

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-08 Thread Thomas Passin via Python-list
On 6/8/2023 6:23 PM, Eryk Sun wrote: on 6/8/23, Thomas Passin via Python-list wrote: It always gets installed, though. By default, the option to install pip is enabled. It's implemented by executing ensurepip after the interpreter is installed. However, ensurepip may silently fail during

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-08 Thread Thomas Passin via Python-list
On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote: On Wed, 7 Jun 2023 10:36:22 -0600, Mats Wichmann declaimed the following: I'm assuming you checked - say, with Explorer - that pip.exe really is where you think it is? Anyway, if you ask a Windows shell (cmd) to locate it, and it

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-07 Thread Thomas Passin via Python-list
On 6/7/2023 6:28 PM, Eryk Sun wrote: On 6/7/23, Thomas Passin via Python-list wrote: You have by now seen several responses, and the one most likely to be helpful is to run pip with py -m pip That won't be of any help if pip isn't installed. By default, Python's installer attempts

Re: Assistance Request - Issue with Installing 'pip' despite Python 3.10 Installation

2023-06-07 Thread Thomas Passin via Python-list
On 6/7/2023 10:54 AM, Florian Guilbault via Python-list wrote: Dear Python Technical Team, I hope this email finds you well. I am reaching out to you today to seek assistance with an issue I am facing regarding the installation of 'pip' despite my numerous attempts to resolve the problem.

Does the Directive @terse Get Used Anywhere?

2023-06-03 Thread Thomas Passin
The globalDirectiveList includes a directive name of "terse". A search of LeoPyRef doesn't show it being used anywhere. Is it actually used, and if so, for what? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: @auto-ms does not get along with Leo's clones

2023-06-02 Thread Thomas Passin
On Friday, June 2, 2023 at 3:05:51 AM UTC-4 p.os...@datec.at wrote: Again it happended. But now it happoend with vanilla nodes, as I replaced all clones by copies of the respective nodes. A section is cut off at ```bash which becomes a node title. This node's body contains then all the sub

Re: @auto-ms does not get along with Leo's clones

2023-06-02 Thread Thomas Passin
> automatically somehow. >> >> >> >> On Wednesday, May 24, 2023 at 4:47:19 PM UTC+2 tbp1...@gmail.com wrote: >> >> The GitHub issue is 3355 >> <https://github.com/leo-editor/leo-editor/issues/3355>. >> >> On Wednesday, May 24, 2023 at 10

Re: Fwd: Problems Installing and getting started.

2023-05-31 Thread Thomas Passin
On 5/31/2023 3:52 PM, Dennis Lee Bieber wrote: Python does not provide, normally, a "click me" icon to run Python. Python is a command line language INTERPRETER/COMPILER. If file associations are set up, clicking on a script (.py) file/will/ run it -- but the window it opens goes away as soon

Re: Best practice for database connection

2023-05-31 Thread Thomas Passin
On 5/31/2023 2:10 PM, Jason Friedman wrote: I'm trying to reconcile two best practices which seem to conflict. 1) Use a _with_ clause when connecting to a database so the connection is closed in case of premature exit. class_name = 'oracle.jdbc.OracleDriver' url =

Re: Module error

2023-05-27 Thread Thomas Passin
On 5/26/2023 8:30 PM, giuseppacef...@gmail.com wrote: I have reinstalled python which reinstalls pip. I have added the path:'C:\sers\Giuseppa\AppData\Local\Packages\PythonSoftwareFoundation.Pytho n.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts and still get the error below.

Re: @auto-ms does not get along with Leo's clones

2023-05-24 Thread Thomas Passin
this is not the issue the OP has been encountering? On Wednesday, May 24, 2023 at 10:47:19 AM UTC-4 Thomas Passin wrote: > The GitHub issue is 3355 > <https://github.com/leo-editor/leo-editor/issues/3355>. > > On Wednesday, May 24, 2023 at 10:40:25 AM UTC-4 Thomas Passin wr

Re: Impressive ChatGPT responses

2023-05-24 Thread Thomas Passin
/24/when-the-rubber-duck-talks-back/>. It's especially interesting that - if you are using VSCode, anyway - the bot can index your entire repo and use that to give much better results. On Thursday, May 18, 2023 at 5:42:27 PM UTC-4 Edward K. Ream wrote: > On Thu, May 18, 2023 at 1:38 PM Thom

Re: @auto-ms does not get along with Leo's clones

2023-05-24 Thread Thomas Passin
The GitHub issue is 3355 <https://github.com/leo-editor/leo-editor/issues/3355>. On Wednesday, May 24, 2023 at 10:40:25 AM UTC-4 Thomas Passin wrote: > The loss of clones is specific to *@auto-md* trees (although I have not > tested other *@auto-xx* trees): > > In an outline

Re: @auto-ms does not get along with Leo's clones

2023-05-24 Thread Thomas Passin
were no longer clones. I don't know what the original intention was with respect to *@auto-md *trees, but this seems like a serious bug to me. I'll create an issue for it. On Wednesday, May 24, 2023 at 10:10:34 AM UTC-4 Thomas Passin wrote: > I see where the problem is - or at least *a* prob

Re: @auto-ms does not get along with Leo's clones

2023-05-24 Thread Thomas Passin
. I'll experiment some more to try to pin it down. The outline which showed the problem had both an *@auto-md* and an *@clean* tree. I'll try outlines with them separately and report back. On Wednesday, May 24, 2023 at 8:22:58 AM UTC-4 Thomas Passin wrote: > @Edward recently re-worked s

Re: @auto-ms does not get along with Leo's clones

2023-05-24 Thread Thomas Passin
the *@auto-md* file that ended up with >> a corrupted outline, and whether you use an *@others* line in it? And >> is this the only such file that caused a problem? And also the version of >> Leo and the OS (though it doesn't seem likely that the OS is playing a >> part). >

Re: @auto-ms does not get along with Leo's clones

2023-05-23 Thread Thomas Passin
outline, and whether you use an *@others* line in it? And is this the only such file that caused a problem? And also the version of Leo and the OS (though it doesn't seem likely that the OS is playing a part). On Tuesday, May 23, 2023 at 1:58:13 PM UTC-4 Thomas Passin wrote: > Maybe @cl

Re: @auto-ms does not get along with Leo's clones

2023-05-23 Thread Thomas Passin
Maybe @clean or even @file would work for you (not that I've tried them with clones, which I'll try out soon) instead of @auto-md. I don't think that @auto-md really gets you anything that they don't, although you will need to put *@language md* at the start of the body of the top node. On

Re: New User's Guide To Leo

2023-05-21 Thread Thomas Passin
On Thursday, May 18, 2023 at 11:17:52 AM UTC-4 Ben Hancock wrote: Thomas writes: I've been thinking that there should be a book on Leo. I don't think I've got another book left in me, but I'm not completely happy with the existing docs because I don't think they really match what a new user

Re: New User's Guide To Leo

2023-05-21 Thread Thomas Passin
I've been plugging away New User's Guide. I've also changed the name of the top-level file to *index.html*. The rest of the URL remains the same: New User's Guide <http://tompassin.net/leo/guide/docs/index.html>. On Saturday, May 20, 2023 at 7:37:29 PM UTC-4 Thomas Passin

Re: New User's Guide To Leo

2023-05-20 Thread Thomas Passin
On Saturday, May 20, 2023 at 6:10:24 PM UTC-4 Ben Hancock wrote: [snip] Hi Rob, Thanks. I'd be grateful for your tips. It looks like I can probably get a good start on point 2 (creating documents) with the "Creating Documents from Outlines" tutorial[1], but if there are particular things

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
And here is the earlier transcript, reformated - the chatbot's doing a lot of hand-waving! write a short user's guide about how to manage a web site with the leo-editor, and do not explain what the leo-editor or a web site are ChatGPT Sure! Here's a short user's guide on managing a website

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
ecosystem of extensions and a strong focus on code editing and development workflows. On the other hand, the Leo editor shines when it comes to outlining, hierarchical editing, and content organization. On Thursday, May 18, 2023 at 2:33:27 PM UTC-4 Thomas Passin wrote: > Rats! I'll try to refor

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
Rats! I'll try to reformat that one, too. On Thursday, May 18, 2023 at 2:32:57 PM UTC-4 Thomas Passin wrote: > Hmm, that formatting came out weird. I'll see if I can reformat it better > - the above was directly copy-pasted from the browser. In the meantime, > here's another intere

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
Hmm, that formatting came out weird. I'll see if I can reformat it better - the above was directly copy-pasted from the browser. In the meantime, here's another interesting one: explain briefly what advantages the leo-editor has over vs-code The Leo editor and Visual Studio Code (VS Code)

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
r detailed information on its features and functionalities. Additionally, consult web development resources to learn more about HTML, CSS, and JavaScript to enhance your website's design and functionality. On Thursday, May 18, 2023 at 2:16:50 PM UTC-4 Thomas Passin wrote: > I thought this mi

Re: Impressive ChatGPT responses

2023-05-18 Thread Thomas Passin
> language model alignment “bias” and cultural consensus theory >>> <https://statmodeling.stat.columbia.edu/2023/04/26/llm-alignment-bias-cultural-consensus-theory/> >>> . >>> >>> On Friday, April 21, 2023 at 12:57:32 PM UTC-4 Edward K. Ream wrote: >>

Re: Stack Overflow Traffic Slumps As Devs Turn to ChatGTP

2023-05-18 Thread Thomas Passin
Closer to home, maybe: explain how to create Sphinx documents with the Leo-editor but don't explain what Leo, Sphinx, or ReStructured text are To create Sphinx documents with the Leo editor, follow these steps: 1. Install Sphinx: Use a package manager like pip to install Sphinx on

Re: New User's Guide To Leo

2023-05-18 Thread Thomas Passin
No apologies needed. Leo is terrific, but it does have quite a learning curve. In the end, I think many people end up with their own personalized workflows, most likely with some customized scripts to help. I like your suggestions of user scenarios walkthroughs, and I think they don't really

Re: Learning tkinter

2023-05-18 Thread Thomas Passin
On 5/18/2023 9:13 AM, Grant Edwards wrote: On 2023-05-12, Rob Cliffe via Python-list wrote: Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. import tkinter tkinter.messagebox

Re: Pip Error

2023-05-17 Thread Thomas Passin
On 5/17/2023 10:54 AM, Aysu Mammadli wrote: I encountered an error while attempting to install pip using the terminal. The exact error message I received is: "An error occurred during configuration: option use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore',

Re: What Was I Working On???

2023-05-17 Thread Thomas Passin
Trying it out got me to thinking that it would be handy to be able to log quick little notes. The following script writes the cursor line on the body to a note log file, whose path can optionally be specified in a setting. The idea is that you could write a brief one-line note and pop it

Re: What Was I Working On???

2023-05-16 Thread Thomas Passin
Here's a bug fix. I didn't update some constant names in the *Stop Logging* script. On Tuesday, May 16, 2023 at 6:31:04 PM UTC-4 Thomas Passin wrote: > Today I wanted to continue some work I started a few weeks ago. I > remember clearly what I did. But I can't remember the outline,

What Was I Working On???

2023-05-16 Thread Thomas Passin
Today I wanted to continue some work I started a few weeks ago. I remember clearly what I did. But I can't remember the outline, and I have not succeeded in finding it even with the help of FileLocatorPro (a terrific Windows program). Somehow, the Recent Files list hasn't helped either.

Re: PythonPath / sys.path

2023-05-15 Thread Thomas Passin
On 5/15/2023 3:26 AM, Barry wrote: On 15 May 2023, at 05:39, Thomas Passin wrote: On 5/14/2023 11:08 PM, Chris Angelico wrote: On Mon, 15 May 2023 at 12:07, Thomas Passin wrote: Well, no, why would you assume that? I started to use Linux - in VMs - because I had to make sure that my

Re: PythonPath / sys.path

2023-05-14 Thread Thomas Passin
On 5/14/2023 11:08 PM, Chris Angelico wrote: On Mon, 15 May 2023 at 12:07, Thomas Passin wrote: Well, no, why would you assume that? I started to use Linux - in VMs - because I had to make sure that my cross-platform java/jython Tomcat program would work right on Linux. Why, for example

Re: PythonPath / sys.path

2023-05-14 Thread Thomas Passin
On 5/14/2023 7:28 PM, Chris Angelico wrote: On Mon, 15 May 2023 at 09:22, Thomas Passin wrote: You made a little slam against Windows, but you will find it harder to get things working on Linux. Ubuntu, like many other Linux distros, does not come with pip and Tk (needed for Idle) installed

Re: An RPN Calculator For Leo

2023-05-14 Thread Thomas Passin
Cool! Though I'm glad I don't have to debug any of those expressions. On Sunday, May 14, 2023 at 10:52:45 AM UTC-4 jkn wrote: > As a slight aside: I knew about the 'bc' (bench calculator) program in > Linux/Unix, and I also knew there was a 'dc' (desk calculator) in Linux/Unix > > What I didn't

Re: PythonPath / sys.path

2023-05-14 Thread Thomas Passin
On 5/14/2023 3:00 PM, Grizzy Adams via Python-list wrote: Sunday, May 14, 2023 at 11:11, Mats Wichmann wrote: Re: PythonPath / sys.path (at least in part) [snip] I have since moved up (a little) so only ~4 years old, I then updated pip from 9.x to 19.1 reason its an old version is it's an

Re: Self Contained Leo Executable

2023-05-12 Thread Thomas Passin
But note that LeoInteg still relies on Leo having already been installed, since it must start the LeoBridge and a headless Leo executable. On Friday, May 12, 2023 at 3:46:19 PM UTC-4 Thomas Passin wrote: Felix will say more, but LeoInteg, running as an addon in VSCode, talks to Leo via

Re: pip module not found

2023-05-12 Thread Thomas Passin
On 5/12/2023 2:42 AM, David John wrote: Hi, I recently have been experiencing issues with the pip installation module. I have python version 3.11 installed. I've checked the directory installed in the systems variables window and nothing is amiss. Kindly assist. It would be useful if you told

<    1   2   3   4   5   6   7   8   9   10   >