Skip to content

Instantly share code, notes, and snippets.

@JayantGoel001
Created January 13, 2021 17:40
Show Gist options
  • Save JayantGoel001/3d32a180a0f7742d31bc02d4c74d0581 to your computer and use it in GitHub Desktop.
Save JayantGoel001/3d32a180a0f7742d31bc02d4c74d0581 to your computer and use it in GitHub Desktop.
Get Information related to a topic from Wikipedia using pywhatkit
import pywhatkit as kt
topics = ["C++", "Python 3"]
text = {}
for topic in topics:
text[topic] = kt.info(topic, 4)
print(topic)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment