0% found this document useful (0 votes)
2 views4 pages

Introduction To Python Programming

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
2 views4 pages

Introduction To Python Programming

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

One Week Python Program

Course Number: 2020-PY-101 Duration: 5 Days

Overview

This Python for beginners training course leads the students from the basics of writing and
running Python scripts to more advanced features such as file operations, working with
binary data, and using the extensive functionality of Python modules. Extra emphasis is
placed on features unique to Python, such as tuples, array slices, and output formatting.

Prerequisites

Students should already be comfortable using the operating system (Linux, Unix, Windows,
Solaris, Mac OS X, etc.) on which they will be running Python. While not mandatory, basic
skills with at least one other programming language are desirable.

Materials

All Python training students will receive comprehensive courseware in GitHub.

Software Needed on Each Student PC

• Any Windows, Linux, or Mac OS X operating system


• Python 3 or later
• An IDE with Python support (PyCharm Community Edition is an excellent free option,
but there are several other good ones)

Objectives

• Master the fundamentals of writing Python scripts


• Learn core Python scripting elements such as variables and flow control structures
• Discover how to work with lists and sequence data
• Write Python functions to facilitate code reuse
• Use Python to read and write files
• Make their code robust by handling errors and exceptions properly
• Work with the Python standard library
• Explore Python's object-oriented features
• Search text using regular expressions

Copyright ©2003-2020 Clientoclarify.ai, private limited Company. Some outlines may contain content from our
courseware partners; such content is protected by these partners’ copyrights and License.
Course Schedule

Week Subject Practice Problems

Day-1 An Overview of Python Task-1-5


The Python Environment
Getting Started
Operations
Day- 2 Flow Control Task-5-10
Data Structure
Day-3 Working with Files Task 11-15
Function
Sorting
Day-4 Errors and Exception Handling Task 16-20
Modules and Packages
Day-5 Highlights of the Standard Library Task 20-25
An Introduction to Python Classes

Outline

• An Overview of Python
o What is Python?
o Interpreted languages
o Advantages and disadvantages
o Downloading and installing
o Which version of Python
o Where to find documentation
• The Python Environment
o Structure of a Python script
o Using the interpreter interactively
o Running standalone scripts under Unix and Windows
• Getting Started
o Using variables
o String types: normal, raw and Unicode
o String operators and expressions
o Math operators and expressions
o Writing to the screen
o Command line parameters
o Reading from the keyboard
• Flow Control
o About flow control
o Indenting is significant
o The if and elif statements
o while loops

Copyright ©2003-2020 Clientoclarify.ai, private limited Company. Some outlines may contain content from our
courseware partners; such content is protected by these partners’ copyrights and License.
o Using lists
o Using the for statement
o The range() function
• Data Structure
o list operations
o list methods
o Strings are special kinds of lists
o Tuples
o Dictionary
o Set
o Dictionary overview
o Creating dictionaries
o Dictionary functions
o Fetching keys or values
o Testing for existence of elements
o Deleting elements
o Sets And Frozen Sets
o
• Working with Files
o Text file I/O overview
o Opening a text file
o Reading text files
o Raw (binary) data
o Writing to a text file
• Functions
o Syntax of function definition
o Formal parameters
o Global versus local variables
o Passing parameters and returning values
• Sorting
o The sorted() function
o Alternate keys
o Multiple keys
o Lambda functions
• Errors and Exception Handling
o Dealing with syntax errors
o Exceptions
o Handling exceptions with try/except
o Cleaning up with finally
• Modules and Packages
o What is a module?
o The import statement
o Function aliases
o Packages
• Highlights of the Standard Library
o Working with the operating system
o Grabbing web pages
o Sending email
o math and random
o Accessing dates and times with datetime
o Working with compressed files
• An Introduction to Python Classes
o About o-o programming

Copyright ©2003-2020 Clientoclarify.ai, private limited Company. Some outlines may contain content from our
courseware partners; such content is protected by these partners’ copyrights and License.
o Defining classes
o Constructors
o Instance methods
o Instance data
o Class methods and data
o Destructors
• Conclusion

Copyright ©2003-2020 Clientoclarify.ai, private limited Company. Some outlines may contain content from our
courseware partners; such content is protected by these partners’ copyrights and License.

You might also like