[CentralOH] Where's the history file?

John Cassidy jocassid at gmail.com
Tue Jun 2 15:11:00 CEST 2015


findstr is the windows equivalent.   try findstr /i /s /c:"some command"
*   For info on the findstr command type findstr /?
On Jun 2, 2015 8:48 AM, "Bryan Harris" <brywilharris at gmail.com> wrote:

> There's a history file?  I don't think python for that.  On Linux is say
> grep for files containing one of the commands you ran:
>
> grep -ir 'some command' /
>
> I'm sure windows has something like grep right?
>
> Bryan Harris, PE
> Research Engineer
> Structures and Materials Evaluation Group
> University of Dayton Research Institute
> bryan.harris at udri.udayton.edu
> http://www.udri.udayton.edu/
> 937-229-5561
> On Jun 2, 2015 8:44 AM, "Joshua Kramer" <joskra42.list at gmail.com> wrote:
>
>> Hello Everyone,
>>
>> Does anyone know where, on Windows 7, the history file is located that
>> is used by the Python shell?  I was doing an interactive shell session
>> and need to remove the history for security purposes.
>>
>> Thanks!
>> -JK
>> _______________________________________________
>> CentralOH mailing list
>> CentralOH at python.org
>> https://mail.python.org/mailman/listinfo/centraloh
>>
>
> _______________________________________________
> CentralOH mailing list
> CentralOH at python.org
> https://mail.python.org/mailman/listinfo/centraloh
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20150602/2d001e9a/attachment.html>


More information about the CentralOH mailing list