Python Forum

Full Version: How to handle "History" in ptpython
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
(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.
I noticed ptpython is much better on windows. All are highlighted.
I got help here: https://python-forum.io/Thread-How-to-ha...n-ptpython

https://github.com/jonathanslenders/ptpy...README.rst
Add this above
Larz60+ Wrote:
First of all I don't know how to highlight 'History'.
No he didn't