SanchayRohad / Khoj

A tool that will execute a Python program and check for errors during execution. If there are errors, the tool will search for Stack Overflow threads that relate to the errors and open them as tabs in a web browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Khoj

1)Created a wrapper Python script, that will run the test Python code, to check for errors.

2)It’ll simply print "No errors found", in case there are no syntactic or runtime errors.

3)On encountering an error, it’ll extract the required error type and the error message.

4)Then made a REST API call to Stack Exchange API. From the JSON response obtained, I extracted at most N number of links to Stack Overflow threads and open the same in a web browser.

5)Tools used:- Python, Stackexchange-API, Http, Rest

About

A tool that will execute a Python program and check for errors during execution. If there are errors, the tool will search for Stack Overflow threads that relate to the errors and open them as tabs in a web browser


Languages

Language:Python 100.0%