PYTHON programming for Aerospace Credits : 03
Subject code: 24MTAPT121 Total No of Hrs :45
Semester : I Hrs/week : 03
Course Objective:
1.Learn the syntax and semantics of Python programming language.
Illustrate the process of structuring the data using lists, tuples and dictionaries.
Demonstrate the use of built-in functions to navigate the file system.
Implement the Object Oriented Programming concepts in Python.
Appraise the need for working with various documents like Excel, PDF, Word and Others.
UNIT 1: Python Basics 8 HOURS
Setting up Python environment, python on different OS, text editors and IDE, running a hello world
program, running python programs from a terminal, variables, strings, numbers, comments
UNIT 2: Lists, Tuples, Dictionaries 10 HOURS
Lists, accessing list – changing, adding, organizing list, avoiding index errors when working with
lists, looping through lists, avoiding indentation errors, making numerical lists, working with part of
list, tuples, dictionaries, working with dictionaries, nesting.
UNIT 3 User Input, Looping, Conditional statement, Function handling 8 HOURS
User input- how input function works, while loop introduction, using while loop with lists and
dictionaries, conditional tests, if statements, using if statements with lists, Functions- definition,
passing arguments, return values, passing a list, passing an arbitrary number of arguments, storing
functions in modules.
UNIT 4 Classes, Inheritance, File, Exception Handling 10 HOURS
Creating and using class, working with classes and instances, inheritance, importing classes, Python
standard library, Files – reading from a file, writing a file, exceptions, storing data.
UNIT 5 Case Studies and Projects 9 HOURS
Designing a game using Python – A Ship that fires bullets
Data Visualization using Python - Generating Data using Matplotlib, plotting graphs, Random
walks, downloading data in CSV file format. Web applications – Getting started with Django
COURSE OUTCOMES:
At the end of this course, students will be able to
1) Demonstrate handling of python environment, variables, looping, conditional statements.
2) Identify the methods to create and manipulate lists, tuples and dictionaries.
3) Discover the commonly used operations involving user input and file system.
4) Interpret the concepts of Object-Oriented Programming as used in Python
5) Apply the concepts of python programming in game building, data visualization and web
applications.
Text book:
Python Crash Course - A Hands-On, Project-Based Introduction to Programming, Eric Matthes,
2nd Edition, No starch press.
Reference Books:
Head First Python, Paul Barry, Second Edition, O’Reilly Publication.
Al Sweigart, “Automate the Boring Stuff with Python”,1stEdition, No Starch Press, 2015.
Allen B. Downey, “Think Python: How to Think Like a Computer Scientist”, 2nd Edition, Green
Tea Press, 2015.