Skip to content

Can't run Python scripts using "cmd" before entering an interactive Python session #65

@tleonhardt

Description

@tleonhardt

There is currently a bug in the py command where the "cmd" function present in the embedded Python console isn't defined until after an interactive python session is entered once.

The fix is very easy, just move the relevant code a little bit earlier in the do_py() function.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions