Advanced Python Programming Notes | B.Sc. (Computer Science) Semester 2 | Mumbai University | munotes
Official Notes munotes.in
Advanced Python Programming
B.SC. (COMPUTER SCIENCE) · SEMESTER 2
Strictly as per the University of Mumbai NEP syllabus in force for B.Sc. (Computer Science)
For B.Sc. (Computer Science) students of the University of Mumbai and all its affiliated colleges
Open the book ↓munotes.in First Year
Contents
Module I OOP in Python, classes and objects, inheritance and polymorphism, abstract classes and interfaces, and threads
- How This Practical Is Examined: the Journal, the Slip and the Viva 1
- Introduction to OOPs: Objects and Classes 4
- Problems in the Procedure Oriented Approach 8
- Features of the Object Oriented Programming System (OOPS) 12
- Constructors and Destructors 16
- Classes and Objects: Creating a Class 20
- The Self Variable 24
- Types of Variables: Instance Variables and Class Variables 27
- Types of Methods: Instance Methods, Class Methods and Static Methods 32
- Passing Members of One Class to Another Class 37
- Inheritance: Building a Class on Another 42
- Types of Inheritance 47
- Constructors in Inheritance 52
- Overriding Super Class Constructors and Methods 56
- The super() Method 60
- Polymorphism 64
- Duck Typing 68
- Operator Overloading 72
- Method Overloading 77
- Method Overriding 82
- Abstract Classes and Abstract Methods 86
- Interfaces in Python 90
- Single Tasking and Multitasking: Processes and Threads 94
- Creating Threads in Python 99
- Thread Synchronisation: Locks and Semaphores 107
- Communication Between Threads: Condition, Event and Queue 115
- Deadlock in Threads 122
- Decorators 128
- Generators 135
- Metaclasses 142
- Asynchronous Programming: async, await and asyncio 148
Module II Working with databases, exceptions, networking, the graphical user interface and data science tools
- Working with Databases: DBMS and MySQL 154
- Retrieving Rows from a MySQL Table 162
- Inserting Rows into a MySQL Table 169
- Deleting Rows from a MySQL Table 176
- Updating Rows in a MySQL Table 181
- Creating Database Tables through Python 187
- Errors in a Python Program 193
- Exceptions and Exception Handling 199
- User Defined Exceptions 208
- Logging Exceptions 213
- Networking: the TCP/IP Protocol Architecture 220
- User Datagram Protocol (UDP) 228
- FTP Architecture 234
- Web Page Operations 243
- Sending a Simple Mail 250
- Creating a GUI in Python: tkinter and the Root Window 257
- Widget Classes: Label, Button, Entry and Text 263
- Widget Classes: Check Buttons, Radio Buttons, List Boxes and More 269
- Layout Managers: pack, grid and place 276
- Event Handling 283
- Data Science Tools: Introduction to NumPy 290
- Matplotlib: Drawing Charts from Data 297
- pandas: Series and DataFrames 304
- pandas: Reading, Cleaning and Grouping Data 312
- SciPy: Scientific Computing with Python 319
Module J The journal, the practical examination and the viva
The chapters
Every chapter of this book comes with the B.Sc. (Computer Science) Semester 2 notes.
The cover and the contents are free to look through. Buy the notes once to read every chapter of every subject in this semester.
Notes + practical solutions + solved papers: ₹798 Already bought it? Sign in
Or notes + practical solutions: ₹499
Or solved papers only: ₹499
Free either way: question papers, the syllabus, and the cover and contents of every book.
The rest of this subject
These notes are cut from the University's printed syllabus. Open the syllabus itself, or the past papers, for the same subject.