Python is a popular object-oriented language used both for stand-alone programs and scripting applications across a variety of domains. This book presents a contemporary approach to programming with an emphasis on principles of good programming, such as clarity, legibility and efficiency in program design. Thus, an interactive programming style has been emphasized throughout the book. The thoroughly revised Computer Science with Python for Class XII provides an in-depth understanding of the latest Computer Science (083) curriculum and strictly adheres to the guidelines laid down by the CBSE. The book deals with advanced concepts of Python Programming Language, Functions in Python, Exception Handling, Data File Handling, Data Structures, Computer Networks, Relational Database Management System (SQL) and Python-MySQL Connectivity. An overview of Python Libraries has also been included in the Appendices, which may be referred for project work. The text of the book is presented in a student-friendly and easy-to-comprehend language. Each chapter provides tested, debugged and error-free codes with screenshots. With easy-to-understand examples, practical implementations, problem-solving and case-based questions, students will learn how to design program logic and implement programs using Python. Based on the CBSE curriculum, the book has been divided into three units: Unit I: Computational Thinking and Programming-2 – Chapters 1 to 5 This unit contains five chapters covering a review of Python studied in Class XI, concepts of functions and modules in Python, Exception Handling using try-except- finally blocks, Text and Binary file-handling operations (read, write and append), CSV file-handling operations (reading and writing CSV files), standard input-output and error streams and relative and absolute paths for file. Besides, implementing Python Data Structures, such as Stacks using lists, has also been thoroughly discussed. Unit II: Computer Networks – Chapter 6 This unit covers the concepts of Computer Networking, Evolution of Networking, Data Communication terminologies, Transmission Media, Network Devices such as Hub, Switch, Repeater, Gateway, Router, Wi-Fi Card, Ethernet Card, etc., Network Topologies and Protocols, Introduction to Web Services such as WWW, Websites, Web Servers, Web Hosting, DNS, etc., and Setting up a Computer Network. PREFACE Unit III: Database Management – Chapters 7 and 8 This unit covers Database Concepts, Relational Database Model, SQL Commands and Aggregate Functions such as SUM(), AVG(), COUNT(), MAX() and MIN() along with important SQL clauses such as GROUP BY, HAVING and ORDER BY. It also covers the concept of SQL Joins, including Equi-join and Natural join and Python-MySQL Connectivity. The five appendices in the book contain a project on Water Billing System, an overview of Python Libraries, Viva Voce questions, Model Test Paper (Solved) and a Practice Paper. Additionally, CBSE Sample Question Paper with Solutions can be accessed by scanning the relevant QR code.