5 Fun Python Libraries

Karan Oberoi
3 min readOct 24, 2021

Python is extensively used by a majority of Data Scientists. Libraries make their life simpler. It is used in many organizations as it supports multiple programming paradigms:

  1. It’s easy to learn.
  2. It has a huge repository of modules and libraries.
  3. It performs automatic memory management.

While exploring Python I came across many fun and interesting libraries. Some of these are third-party libraries which might have to be installed on your computer.

5 such libraries and modules which I found interesting are:

SymPy

SymPy is an open-source Python library for symbolic computation. i have created a simple expression in the below example and calculated it’s derivative and integral.

Example of SymPy Library

To read more about this library visit → SymPy Official Documentation

Pyjoke

Getting bored with all the data cleaning work? Get a smile on your face by hearing a pun or joke from Python itself. That is exactly what Pyjokes does, it tells you jokes.

Pyjoke Library keeps you entertained!

To read more about this library visit → Pyjokes Documentation

Emoji

Ever wondered how to add social media emojis in your code? Print emojis on your own using simple code lines and the emoji module of python.

Fun with Emojis

To read more about this library visit → Emoji Documentation

Turtle

Turtle is a Python module to draw different shapes. It’s a popular way for introducing programming to kids.

Drawing a star with Turtle Library

To read more about this library visit → Turtle Documentation

HeartRate

HeartRate library offers a simple real time visualisation of the execution of a Python program. It shows you which lines are executed and how many times they are executed.

To read more about this library visit → HeartRate Documentation

Conclusion

These are some interesting libraries that you can play around with to have some fun with Python. Happy Coding!

--

--