On Sunday, April 19, 2020 at 6:24:28 PM UTC-4, Thomas Passin wrote:
>
>
> When I run command [4] in the Python console tab inside Leo (not the Pyzo
> shell), I get this:
>
Not sure how to get, where is a 'consoletab', It must only appear with some
start up option. Nothing in the doc, though I have seen once.
> >>> g.commander_command('new')
>
> <leo.core.leoGlobals.CommanderCommand object at 0x000001FDACBE36D0>
>
> And also in the console tab:
>
> >>> import leo
>
> >>> help(leo.commands.commanderFileCommands.new)
>
> Help on function new in module leo.commands.commanderFileCommands:
>
>
> new(self, event=None, gui=None)
>
> Create a new Leo window.
>
>
> I'm not sure what object is needed for self...
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/249021fa-31f3-4a95-9f61-439261db6cbf%40googlegroups.com.