Get your programming queries answered using howdoi
Finally I found that: “howdoi” a python library which answers all your programming queries thru a command line interface
HowDOI
Install Howdoi
pip install howdoi
Start Howdoi
Open command prompt on Windows or Terminal on Macos and type anything you are looking for:
howdoi install pandas
Examples:
- howdoi find largest element in a list
highest = max(1, 2, 3) # or max(\[1, 2, 3\]) for lists
- howdoi for loop in java
for (Iterator i = someIterable.iterator(); i.hasNext();) {
String item = i.next();
System.out.println(item);
}