Commands in GoldenDict – Offline Dictionary of man, grep, pupppet help and your commands

NEW: There is a new, better version of this article and program. Add Python reference, man pages and your own commands to dictionary. This example shows how to add commands as dictionaries to GoldenDict. Commands show information for the exact … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | Comments Off on Commands in GoldenDict – Offline Dictionary of man, grep, pupppet help and your commands

pydoc3 str – Python Reference in Your Command Line – Airplane & Cottage Entertainment

You can read Python documentation offline with pydoc3. It’s installed automatically with Python, and it always shows documentation for the version of Python you have installed. $ pydoc3 str You can see reference for a library ‘pydoc3 re’ or a single … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Comments Off on pydoc3 str – Python Reference in Your Command Line – Airplane & Cottage Entertainment

Python RegEx One-Liner in a Pipe – Remove Hard Line Wrapping – No Perl

Just put Python in your pipe and let Perl rest in peace. Python can be used as a one-liner in a pipe. Replacing text with a regular expression used to be the last holdout of perl, but now you can … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Comments Off on Python RegEx One-Liner in a Pipe – Remove Hard Line Wrapping – No Perl