Python Forum
How to handle "History" in ptpython - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: How to handle "History" in ptpython (/thread-13258.html)



How to handle "History" in ptpython - sylas - Oct-07-2018

Hi all ! First of all I don't know how to highlight 'History'. Then I should like to set history to a reasonable value of 10. Thanks in advance.


RE: How to handle "History" in ptpython - Larz60+ - Oct-07-2018

please see: https://python-forum.io/misc.php?action=help&hid=19


RE: How to handle "History" in ptpython - snippsat - Oct-07-2018

(Oct-07-2018, 11:02 AM)Larz60+ Wrote: First of all I don't know how to highlight 'History'.
I have showed you this before #4 May-29-2018, 07:52 PM
Quote:Then I should like to set history to a reasonable value of 10. Thanks in advance.
All historty is in C:\cmder\config\.history,you can open .history file in a text editor.
Delete part of or all,i have not cleaned so i have 5000 lines of my REPL history which is okay.


RE: How to handle "History" in ptpython - sylas - Oct-07-2018

I noticed ptpython is much better on windows. All are highlighted.
I got help here: https://python-forum.io/Thread-How-to-handle-History-in-ptpython

https://github.com/jonathanslenders/ptpython/blob/master/README.rst
Add this above


RE: How to handle "History" in ptpython - Larz60+ - Oct-07-2018

Larz60+ Wrote:
First of all I don't know how to highlight 'History'.
No he didn't