Basic - Advanced Python

A highly skilled professional service with a creative touch

slash Plus|Basic - Advanced Python

Details about Python

Python is an open source programming language made to both look good and be easy to read. A programmer named Guido van Rossum made it in 1991. Python is an interpreted language. Interpreted languages do not need to be compiled to run. A program called an interpreter will run python code on any kind of computer it can run on itself. This means if the programmer needs to change the code they can quickly see the results. This also means Python is slower than a compiled language like C, because it is not running machine code directly.
Python is a good programming language for beginners. It is a high-level language, which means a programmer can focus on what to do instead of how to do it. Writing programs in Python takes less time than in another language. Python has a very easy to read syntax. Some of it comes from C, because that is the language that Python was written in. One big change with Python is the use of whitespace to delimit code: spaces or tabs are used to organize code by the amount of spaces or tabs. This means at the end of each line, a semicolon is not needed and curly braces ({}) are not used to group code, which are both common in C. The combined effect makes Python a very easy to read language.
Python is used by hundreds of thousands of programmers and is used in many places. Sometimes only Python code is used for a program, but most of the time it is used to do simple jobs while another programming language is used to do more complicated tasks. Its standard library is made up of many functions that come with Python when it is installed. On the Internet there are many other libraries available that make it possible for the Python language to do more things. These libraries make it a powerful language; it can do many different things.

Courses Outline- Python


Prerequisites

Students should have taken the Software Development for Non-Programmers course or have some experience with at least one programming language. Typically, students in this course will have already programmed in either C, C++, Java, Perl, Ruby, VB, or anything equivalent to these languages


CHAPTER 1: AN INTRODUCTION TO PYTHON

1. Introductory Remarks about Python
2. Strengths and Weaknesses
3. A Brief History of Python
4. Python Versions
5. Installing Python
6. Environment Variables
7. Executing Python from the Command Line
8. IDLE
9. Editing Python Files
10. Getting Help
11. Dynamic Types
12. Python Reserved Words
13. Naming Conventions

CHAPTER 2: BASIC PYTHON SYNTAX

1. Introduction
2. Basic Syntax
3. Comments
4. String Values
5. String Operations
6. The format Method
7. String Slices
8. String Operators
9. Numeric Data Types
10. Conversions
11. Simple Input and Output
12. The print Function

CHAPTER 3: LANGUAGE COMPONENTS

1. Introduction
2. Control Flow and Syntax
3. Indenting
4. The if Statement
5. Relational Operators
6. Logical Operators
7. True or False
8. Bit Wise Operators
9. The while Loop
10. break and continue
11. The for Loop

CHAPTER 4: COLLECTIONS

1. Introduction
2. Lists
3. Tuples
4. Sets
5. Dictionaries
6. Sorting Dictionaries
7. Copying Collections
8. Summary

CHAPTER 5: FUNCTIONS

1. Introduction
2. Defining Your Own Functions
3. Parameters
4. Function Documentation
5. Keyword and Optional Parameters
6. Passing Collections to a Function
7. Variable Number of Arguments
8. Scope
9. Functions - "First Class Citizens"
10. Passing Functions to a Function
11. Mapping Functions in a Dictionary
12. Lambda
13. Closures

CHAPTER 6: MODULES

1. Modules
2. Standard Modules - sys
3. Standard Modules - math
4. Standard Modules - time
5. The dir Function

CHAPTER 7: EXCEPTIONS

1. Errors
2. Run Time Errors
3. The Exception Model
4. Exception Hierarchy
5. Handling Multiple Exceptions
6. raise
7. assert
8. Writing Your Own Exception Classes

CHAPTER 8: INPUT AND OUTPUT

1. Introduction
2. Data Streams
3. Creating Your Own Data Streams
4. Access Modes
5. Writing Data to a File
6. Reading Data From a File
7. Additional File Methods
8. Using Pipes as Data Streams
9. Handling IO Exceptions
10. Working with Directories
11. Metadata
12. The pickle Module

CHAPTER 9: CLASSES IN PYTHON

1. Classes in Python
2. Principles of Object Orientation
3. Creating Classes
4. Instance Methods
5. File Organization
6. Special Methods
7. Class Variables
8. Inheritance
9. Polymorphism
10. Type Identification
11. Custom Exception Classes
12. Class Documentation - pydoc

CHAPTER 10: REGULAR EXPRESSIONS

1. Introduction
2. Simple Character Matches
3. Special Characters
4. Character Classes
5. Quantifiers
6. The Dot Character
7. Greedy Matches
8. Grouping
9. Matching at Beginning or End
10. Match Objects
11. Substituting
12. Splitting a String
13. Compiling Regular Expressions
14. Flags

CHAPTER 11: DATA STRUCTURES

1. range
2. List Comprehensions
3. Nested List Comprehensions
4. Dictionary Comprehensions
5. Dictionaries with Compound Values
6. Processing Lists in Parallel
7. Functions
8. Default Parameters
9. Variable Arguments
10. A Dictionary of Dictionaries
11. Specialized Sorts
12. The del Statement
13. Time Functionality
14. Using Generators

CHAPTER 12: WRITING GUIS IN PYTHON

1. Introduction
2. Components and Events
3. An Example GUI
4. The root Component
5. Adding a Button
6. Entry Widgets
7. Text Widgets
8. Checkbuttons
9. Radiobuttons
10. Listboxes
11. Frames
12. Menus
13. Binding Events to Widgets

CHAPTER 13: PYTHON AND CGI SCRIPTS

1. Introduction
2. HTML
3. HTML Forms
4. A Guestbook Application
5. What Can Go Wrong!
6. HTML Tables
7. The CGI Script
8. Rendering of the Script

CHAPTER 14: THE OS MODULE

1. The Environment
2. Launching Commands
3. Creating a Process
4. Directory Commands
5. Other Process Methods
6. File Information (Metadata)
7. Miscellaneous os Calls
8. Walking Through Directories

CHAPTER 15: NETWORK PROGRAMMING

1. Introduction
2. A Daytime Server
3. Clients and Servers
4. The Client Program
5. The Server Program
6. Recap
7. An Evaluation Client and Server
8. The Server Portion
9. A Threaded Server

We Slash plus Nepal also offer Web Design, Web Development, Multimedia, Accounting Package, C , C++ , C# , Oracle , MS SQL Server , PHP MYSQL , Python , Python & PythonBeans , JSP, Web Designing , .NET , Auto-CAD, and their professional Computer courses with International certification facility.

We Slash plus Nepal also offer Web Design, Web Development, Multimedia, Accounting Package, C , C++ , C# , Oracle , MS SQL Server , PHP MYSQL , Java , Java & JavaBeans , JSP, Web Designing , .NET , Auto-CAD, and their professional Computer courses with International certification facility.


Leave a message for an enquery

* fields are Compulsory