Accessing command history in QPython console for A

2019-02-21 22:18发布

问题:

Is it possible to access previously entered commands in QPython's console/REPL? Up and down arrows just display escape sequences. I tried switching the Terminal type option between screen, linux, and vt100, but this doesn't seem to help.

A related question didn't specify it was referring to QPython's console, and got an answer that is not relevant.

回答1:

No, it' not possible. The feature hasn't been implemented. But if you can use Python3's syntax instead of Python 2.7, you can use QPython3 app instead where this feature has been implemented.

This is the answers from QPython's support:

From: QPython Support Date: Wed, Oct 28, 2015 at 1:11 PM Subject: Re: previously entered commands

It doesn't support this now, but we will try to implement the feature in the future for some guys ask the same question.

Thank you for feedback.