-
Notifications
You must be signed in to change notification settings - Fork 869
Home
Welcome to the howdoi wiki!
The answers currently come from Stack Overflow, searched using Google site search. Howdoi scrapes and prints the first code block in the top answer, or the full text of the top answer if it contains no code block.
howdoi/howdoi.py is the code that actually does the work.
A GUI version of howdoi was written using PySimpleGUI. It runs on Windows and requires Python 3.
To install, use pip:
pip install pysimplegui-howdoi
To run the installed software
python -m pysimplegui-howdoi.pysimplegui-howdoi
The interface looks like this:
Type the query into the bottom portion of the window. The results are displayed in the top. You can highlight, copy and paste the responses. There is a history feature built-in so you can re-run queries. Use the arrow keys or mouse scroll-wheel to cycle through the history.
Learn more about PySimpleGUI: Documentation - http://www.PySimpleGUI.org GitHub - http://www.PySimpleGUI.com
A real-time python scratchpad for VSCode. See https://github.com/Almenon/AREPL-vscode
howdoi is a built-in function in AREPL - just call howdoi and pass in your query:
howdoi('calculate fibbonaci in python') # AREPL will print out the result
- have some way of saying if the answer was right (e.g.
$ howdoi thanks
)