The study material introduces a long list of libraries. You do not need to learn to use them now, but you should know what each is for, so you can name the right tool for a task. This section groups them by area.
Machine learning and deep learning
Library
Purpose
Notes
scikit-learn
Classical machine learning: classification, regression, clustering (k-means, random forests, support vector machines, DBSCAN)
Built on NumPy and SciPy; supports supervised and unsupervised learning
TensorFlow
End-to-end platform for building and deploying neural networks
Developed by Google; C++ core with a Python interface
Keras
High-level, beginner-friendly interface for building neural networks
Since Keras 3 it can run on TensorFlow, PyTorch or JAX
PyTorch
Deep learning with tensors and automatic differentiation, on CPU or GPU
Developed by Meta; widely used in research and production
Theano
Defines and optimises mathematical expressions on arrays, on CPU or GPU
Historically important; development ended in 2017 (continued as PyTensor)
A tensor is a multi-dimensional array of numbers: a single number, a list, a table, or higher-dimensional data such as a batch of colour images.
Scientific computing and data science
Library
Purpose
NumPy
Fast n-dimensional arrays, linear algebra, Fourier transforms, random numbers; the foundation of most scientific Python
SciPy
Built on NumPy: integration, optimisation, statistics, signal processing
pandas
Tables of data (DataFrames): reading CSV, Excel, SQL and JSON, cleaning, grouping and summarising
Matplotlib
2D plots: line, bar, histogram, scatter
Seaborn
Statistical plots (heat maps, violin plots) built on Matplotlib, with an easier interface
Web, mobile, games and scraping
Tool
Area
Purpose
Django
Web
Full-featured framework for database-driven sites: ORM, admin panel, authentication
Flask
Web
Lightweight framework; you add only what you need
Kivy
Mobile/desktop
Cross-platform GUI apps for Windows, Linux, macOS, Android and iOS
BeeWare
Mobile/desktop
Tools to build apps with native-looking interfaces on each platform
Pygame
Games
2D games and multimedia: graphics, sound, input
Scrapy
Web scraping
Framework for building crawlers (“spiders”) that extract structured data from websites
MicroPython
Embedded
Python 3 for microcontrollers, with modules for pins, timers and sensors
Key takeaways
ML: scikit-learn (classical), TensorFlow, PyTorch, Keras (deep learning); Theano is discontinued.
These are third-party packages, installed with pip (or included in Anaconda and Colab).
Practice questions
Answer on paper first, then check. The explanation matters more than the letter you chose.
Question 6 · short answer
Explain what Kivy and Django are used for, and why one could be called a framework.
Show worked answer
Kivy is used to build graphical applications that run on desktop and mobile platforms (Windows, macOS, Linux, Android, iOS) from one Python code base. Django is used to build database-driven websites, providing an ORM for the database, URL routing, templates, an admin interface and user authentication. Both are frameworks: you write pieces such as screens, event handlers or view functions, and the framework runs the application and calls your code when events or web requests occur.
MCA Online notes are made for reading on screen. Open https://mcastudy.online/mcs-201/introduction-to-python/popular-python-libraries-and-frameworks/ to read this page.