TechnoLabsz: 2016

PyOverFlow: Automatic Solution Lookup for Runtime Errors

Hello everyone. This post introduces a Python package I built to automate the habit of searching Stack Overflow whenever our code hits a runtime error. With this package, the top Google result is fetched and shown in your web browser as soon as an error appears. You can also specify how many solutions you would like returned when an exception is raised. In short, when an exception occurs, it automatically looks up a fix for that exception.

PyOverFlow package automatically searching for a runtime error solution
PyOverFlow in action

Installing PyOverFlow

The package source code is available at the links below, and the latest code lives on GitHub.

Extract the source code and open a terminal inside the extracted folder. Then run the command below to install the package. Note: make sure you have a working internet connection.

$ sudo python setup.py install

After that, try the example code provided below (Code 1).

About the Author

Posted by Lentin Joseph, Kochi, Kerala, India. I am very interested in learning about new technology.

View My Complete Profile

Published Books

Mastering ROS for Robotics Programming book cover
Mastering ROS for Robotics Programming
Learning Robotics using Python book cover
Learning Robotics using Python
Mastering ROS for Robotics Programming Learning Robotics using Python

Popular Posts

Follow TechnoLabsz

RSS feed icon
RSS
Twitter icon
Twitter
Facebook icon
Facebook
TechnoLabsz profile image
TechnoLabsz
Facebook profile
Facebook profile
TechnoLabsz image
TechnoLabsz
Email icon
Email
Twitter Facebook

Labels

Share This Post

Email BlogThis! Share to X Share to Facebook Share to Buzz

Post Navigation

Newer Posts Home Subscribe to: Posts (Atom)