top of page
Neeru Mittal

Python Tips and Tricks

Introduction

Python is one of the most interesting and robust languages in the modern coding space. But do you know where the actual prowess lies? Its in the numerous Python libraries that one can use to create anything, well almost anything from a simple interaction to a complex web chat to AI based models and Robots.

But simple things first. There are some very interesting libraries provided by Python that can be used to make a classroom interesting and set up the road to self learning. In this blog series, I shall introduce one such library in each post and also some tips and tricks.

 

The wikipedia library.

Wikipedia is a Python library that makes it easy to access data from Wikipedia. It provides functions to search Wikipedia, get article summaries, get data like links and images from a page, obtaining latitude and longitude data of a place and many more.

import wikipedia
topic=input("Enter a topic you want to search for on wikipedia")
print(wikipedia.summary(topic))



 

189 views1 comment

1 commentaire


ledagil442
05 sept. 2023

Are you looking for the best coding courses online UK? Here I am recommending School Of Coding, It is one of the best online coding course providers in the UK. They teach coding through their after-school clubs and at their School of Coding Education Centres.

J'aime
bottom of page