0% found this document useful (0 votes)
14 views

Introduction To Python Programing: Unit-1

Uploaded by

P prasad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Introduction To Python Programing: Unit-1

Uploaded by

P prasad
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Introduction to Python Programing

Unit-1:
Introduction to Python - Features of Python - Executing python program using command
line window and IDLE graphics window, Python Virtual Machine - Identifiers - Reserved
Keywords - Variables, Comments in Python - Input, Output and Import Functions.
Operators - Data Types and Operations -int, float, complex, Strings, List, Tuple, Set,
Dictionary - Mutable and Immutable Objects - Data Type Conversion, Illustrative
programs.

Unit-2:
Decision Making conditional (if), alternative (if-else), if..elif..else -nested if - Loops for,
range(). while, break, continue, pass, FUNCTIONS, ARRAYS. Fruitful functions- return
values, parameters, local and global scope, Yunction composition, recursion; Strings:
string slices, immutability, string functions and methods, string module, Python arrays,
Access the Elements of an Array, array methods.

Unit-3:
LISTS. TUPLES, DICTIONARIES. Lists: List operations, list slices, list methods, list
loop. mutability, aliasing, cloning lists, list parameters, list comprehension; Tuples: Tuple
assignment, tuple as return value, tuple comprehension, Dictionaries: operations and
methods, comprehension.

Unit 4:
FILES, EXCEPTIONS, MODULES, PACKAGES- Built-in Modules - Creating Modules -
Import statement - Locating modules - Namespaces and Scope. The dir() function. The
reload function - Some useful Packages in Python (datetime, time, OS, calendar, math
module) Files and exception: text files, reading and writing files Renaming and Deleting
files Exception
Parameter to a method, del method(Destructor), Class Membership Tests Met
Overloading in Python, Operator Overloading. Inheritance, Types of Inheritance, The
Object Class, Using super(), Method Overriding.

UNIT 5
Dictionaries: Need of Dictionaries, Basics of Dictionaries, Creating a Dictionary. Adding
and Replacing Values, Retrieving Values. Formatting Dictionaries, Deleting licens,
Comparing Two Dictionaries, The Methods of Dictionary Class, Traversing Dictionaries
Nested Dictionaries, Traversing Nested Dictionaries, Simple Programs on Dictionaries.

You might also like