Search help using Python Console

0 votes
How do we find a particular package or function using keywords in Python Console?
Nov 8, 2018 in Python by ana1504.k
• 7,890 points
33 views

1 answer to this question.

0 votes
The pydoc -k flag searches the documentation.

pydoc -k <keyword>
    Search for a keyword in the synopsis lines of all available modules.
From a terminal, run..

$ pydoc -k pdf
..for example:

$ pydoc -k pdf
PdfImagePlugin
wx.lib.pdfwin
PIL.PdfImagePlugin
answered Nov 8, 2018 by SDeb
• 13,210 points

Related Questions In Python

0 votes
1 answer

Python using basicConfig method to log to console and file

I can't reproduce it on Python 3.3. ...READ MORE

answered Aug 14, 2018 in Python by ariaholic
• 7,340 points
55 views
0 votes
1 answer

Python using basicConfig method to log to console and file

Try this working fine(tested in python 2.7) ...READ MORE

answered Aug 27, 2018 in Python by Priyaj
• 57,300 points
1,081 views
0 votes
1 answer

Need help with Tkinter window formatting using Python

Tkininter comes with the columnspan argument to span the labels ...READ MORE

answered Sep 7, 2018 in Python by ariaholic
• 7,340 points
50 views
0 votes
1 answer
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 409 views
0 votes
1 answer

comparing strings in Python using "==" or "is"

is is used for identity testing and ...READ MORE

answered Sep 19, 2018 in Python by SDeb
• 13,210 points
45 views
0 votes
1 answer

How to download a file over HTTP using Python?

In Python 2, use urllib2 which comes ...READ MORE

answered Oct 18, 2018 in Python by SDeb
• 13,210 points
66 views