Did you find yourself search for the same answer in stackotherflow? Then this is for you!
code-snippets is python program for search instant coding answers and save it fot later use.
windows users can install the program by running the last setup (made using inno setup)
or by download last snippets.exe from last Release
linux users can download last binary by download last snippets from last Release
you can install type in terminal:
(sudo) pip install https://github.com/matan-h/code-snippets/archive/master.zip
after that,you can open the gui with python -m code_snippets
. (you can recplace "python" by the python you have (py,python3,py3,etc)) or (if python pip scipts is in your PATH) just run snippets
after open the software (by run the the the binary file or by run the python module) you will see:
you can import the code_snippets
module:
# import the Graphic class
from code_snippets.snippets import Graphic # import Graphic class
# init Graphic - it will init icon,create Graphic object and create hook for open the issue reporter when error occurred
graphic = Graphic()
graphic.main() # start the mainloop of the gui
you can also use only the github issue reporter
# import Graphic class,for init the icon
from code_snippets.snippets import Graphic
Graphic.init_icon() # only init the icon,without init the gui
from code_snippets.reporter import open_github_issue
open_github_issue() # open the "Open A GitHub Issue" window
- howdoi - for searching answers.
- PySimpleGUI - for create the gui
the icon is the Code icon by Icons8
matan h
This project is licensed under the MIT License.