Accessing command history in QPython console for Android

ⅰ亾dé卋堺 提交于 2019-12-01 15:33:13

问题


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.



来源:https://stackoverflow.com/questions/28950530/accessing-command-history-in-qpython-console-for-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!