Introduction to Python Programming

Introduction to Python Programming

This Python training course leads the students from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, 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.

 

PYTHON PROGRAMMING TRAINING 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

PYTHON PROGRAMMING TRAINING 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.

PYTHON PROGRAMMING TRAINING MATERIALS

All Python training students receive a copy of Addison-Wesley’s Python Essential Reference (4th Edition) and related courseware.

SOFTWARE NEEDED FOR EACH PC:

  • Any Windows, Linux, or Mac OS X operating system
  • Python 2.6, 2.7, or 3.x
  • An IDE with Python support (PyCharm Community Edition is an excellent free option, but there are several other good ones)
  • For classes delivered online, all participants need either dual monitors or a separate device logged into the online session so that they can do their work on one screen and watch the instructor on the other. A separate computer connected to a projector or large screen TV would be another way for students to see the instructor’s screen simultaneously with working on their own.

PYTHON PROGRAMMING TRAINING OUTLINE

  • An Overview of Python
    • What is Python?
    • Interpreted languages
    • Advantages and disadvantages
    • Downloading and installing
    • Which version of Python
    • Where to find documentation
  • The python environment
    • Structure of a Python script
    • Using the interpreter interactively
    • Running standalone scripts under Unix and Windows
  • Getting Started
    • Using variables
    • String types: normal, raw and Unicode
    • String operators and expressions
    • Math operators and expressions
    • Writing to the screen
    • Command line parameters
    • Reading from the keyboard
  • Flow Control
    • About flow control
    • Indenting is significant
    • The if and elif statements
    • while loops
    • Using lists
    • Using the for statement
    • The range() function
  • Array types
    • list operations
    • list methods
    • Strings are special kinds of lists
    • tuples
    • sets
    • Dictionaries
  • Working with Files
    • Text file I/O overview
    • Opening a text file
    • Reading text files
    • Raw (binary) data
    • Using the pickle module
    • Writing to a text file
  • Dictionaries and Sets
    • Dictionary overview
    • Creating dictionaries
    • Dictionary functions
    • Fetching keys or values
    • Testing for existence of elements
    • Deleting elements
  • Functions
    • Syntax of function definition
    • Formal parameters
    • Global versus local variables
    • Passing parameters and returning values
  • Sorting
    • The sorted() function
    • Alternate keys
    • Multiple keys
    • Lambda functions
  • Errors and Exception Handling
    • Dealing with syntax errors
    • Exceptions
    • Handling exceptions with try/except
    • Cleaning up with finally
  • Modules and Packages
    • What is a module?
    • The import statement
    • Function aliases
    • Packages
  • Regular Expressions
    • RE Objects
    • Pattern matching
    • Parsing data
    • Subexpressions
    • Complex substitutions
    • RE tips and tricks
  • Highlights of the Standard Library
    • Working with the operating system
    • Grabbing web pages
    • Sending email
    • Using glob for filename wildcards
    • math and random
    • Accessing dates and times with datetime
    • Working with compressed files
  • An Introduction to Python Classes
    • About o-o programming
    • Defining classes
    • Constructors
    • Instance methods
    • Instance data
    • Class methods and data
    • Destructors
  • Conclusion

Send a Comment

Your email address will not be published.

CONTACT US

+91 9376007676  

INQUIRY NOW


,

Introduction to Python Programming

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...
  • Course No : PYTH-100
  •  Theory : 40%
  •  Lab : 60%
  • Duration : 24 hours
Scroll Up
Skip to toolbar