TABFlux
HomeCoursesUniversitiesProgramsForum
Contact Us

© 2026 TABFlux. All rights reserved. Built for students, by students.

ForumPrivacy PolicyTerms of ServiceContact UsContributors

Python Programming

Python Programming covers the fundamentals of this versatile language, focusing on readable syntax and powerful libraries for automation, web development, and data analysis. You will master core concepts like data structures, functions, and object-oriented programming to build scalable and efficient software solutions.

Select University

TU

Select Program

BDSBCT-NEWBEI-NEW

TabFlux . Python Programming . TU . BDS

Python Programming

0%

Course Title: Python Programming

Course No: BDS151

Nature of the Course: Theory + Lab

Semester: 2

Full Marks: 45 + 30

Pass Marks: 18 + 12

Credit Hours: 3

Course Description

Course Objectives

Course Contents

1. Introduction
3 hrs
1.1. Python introduction
1.2. Why Python
1.3. Installing Python
1.4. Using interactive shell from console
1.5. Running Python scripts from console
1.6. Using interactive shell from IDLE
1.7. Using IDEs
1.8. Installing third party libraries
1.9. Writing comments
1.10. Indentation
1.11. Variables
1.12. Operators
2. Built-In Data Types
7 hrs
2.1. Numbers – integers, Booleans, Real numbers, Complex numbers, Fractions and decimals
2.2. Immutable sequences – strings, bytes, and tuples
2.3. Mutable sequences – lists, bytearrays
2.4. Set types
2.5. Mapping types – dictionaries
2.6. Dates and times
2.7. Collections module
2.8. Small value cashing
2.9. Indexing and slicing
3. Conditionals and Iterations
5 hrs
3.1. Introduction
3.2. The if statement
3.3. The for loop
3.4. The while loop
3.5. The break and continue statements
3.6. The else clause after for or while loops
3.7. The walrus operator
4. Functions
4 hrs
4.1. Introduction
4.2. Why use functions?
4.3. Defining functions
4.4. passing arguments
4.5. Return values and returning multiple values
4.6. Recursive function
4.7. Anonymous function
4.8. Built-in functions
5. Comprehensions and Generators
3 hrs
5.1. The map, zip, and filter functions
5.2. Comprehensions – list, Dictionary and set comprehensions
5.3. Generators
6. Object-oriented Programming, Decorators, Iterators, and Modules
14 hrs
6.1. Decorators
6.2. Object-oriented programming concepts
6.3. Creating class and object
6.4. Inheritance
6.5. Static methods and class methods
6.6. Private properties
6.7. The property decorator
6.8. Operator overloading
6.9. Writing custom iterator
6.10. Modules and packages
7. Exception and File Handling
4 hrs
7.1. Exceptions
7.2. Handling exceptions
7.3. Defining your own exception
7.4. Reading and writing files
7.5. Reading and writing CSV files
8. Basic Data Processing and Analysis Using Python Libraries
6 hrs
8.1. Numpy
  • Introduction array creating
  • Dimensions
  • Data types, Array attributes, Indexing and slicing
  • Array copy and view
  • Creating array from numerical range
  • Array broadcasting
  • Iterating over array
  • Sorting and Searching
  • Statistical Functions
8.2. Pandas
  • Series and data frames
  • Creating data frames
  • The head and tail functions
  • Attributes
  • Working with missing data
  • Indexing, slicing, and subsetting
  • Merging and joining data frames
  • Working with CSV data
9. Data Visualization with Matplotlib
2 hrs
9.1. Introduction
9.2. Marker
9.3. Line
9.4. Color
9.5. Label
9.6. Grid lines
9.7. Subplot
9.8. Scatter plot
9.9. Bar graph
9.10. Histogram, pie chart and box plot

Laboratory Works

  1. 1.Python programming Laboratory

Reference Books

  1. 1.Fabrizio Romano and Heinrich Kruger, Learn Python Programming – An in-depth Introduction to the Fundamentals of Python, 3rd Edition, Packt Publishing, 2021
  2. 2.Kenneth A Lampart, Fundamental of Python, Cengage Learning Publishing.
  3. 3.Cody Jackson, Learn Programming in Python with Cody Jackson, Packt Publishing, Wesley, 2018
  4. 4.Mark Summerfield, Programming in Python 3: A Complete Introduction to the Python Language, Addison-Wesley Professional.

Notes:

Source:

This course covers different concepts of Python programming including basic language concepts, control statements, functions, comprehensions, generators, decorators, iterators, object-oriented programming concepts, exception handling, file handling, modules and packages, and some common Python libraries.
- The main objective of this course to provide knowledge to student with different concepts of Python programming language python programming and some common Python libraries such as Numpy, Pandas, and Matplotlib

The laboratory work includes writing computer programs using python programming language covering all the concepts studied in each unit of the course.

This syllabus follows the official BDS curriculum of Tribhuvan University. In case of any doubt or revision, the university's published syllabus shall be considered authoritative.