Programming in Python Training – Essential Features and Techniques – 2 Days
Course Description – Programming in Python
This Programming in Python training course presents both the programming interface and the techniques that can be used to write procedures in Python on Linux or Windows systems.
Prerequisites
It is helpful if the participants have had some experience with an interpreted language (shell scripting, Perl, etc), but is not mandatory.
Objectives
Each participant will be able to use Python techniques and commands to write scripts to perform various user and administrative tasks, with a functioning Python environment on a Linux or Windows system. Students should already have a working, user-level knowledge of Unix/Linux, Mac, or Windows. While not required, basic skills with at least one other programming language will be helpful.
Outline
Writing Python Scripts
Layout of a Python procedure
comments
module importation
column format
Documentation (doctype)
pydoc – generating man or html pages
Execution methods
one-liners
scripts
command line interaction
batch file interaction (Windows)
signature definition (Linux)
Datatypes
scalar (numeric and string)
lists (indexed arrays and tuples)
sequences (ranges)
dictionaries
Writing Python Scripts
Operators
relational
conditional
Python programming constructs
looping statements
decision statements
Python file I/O
using ARGV value(s)
using sys.stdin and fileinput.input( )
Python interaction with the operating system
file handling functions (os and os.path)
directory content manipulation
Subroutines and functions
definition and declaration
passing arguments and calling methods
return values
basic module creation
designing Python classes
instantiating objects
Other courses to explore:
Programming in Python – Intermediate and Advanced Techniques
From Wikipedia – Python is an interpreted high-level programming language for general-purpose programming. Created by Guido van Rossum and first released in 1991, Python has a design philosophy that emphasizes code readability, and a syntax that allows programmers to express concepts in fewer lines of code,[25][26] notably using significant whitespace. It provides constructs that enable clear programming on both small and large scales.[27]
Python features a dynamic type system and automatic memory management. It supports multiple programming paradigms, including object-oriented, imperative, functional and procedural, and has a large and comprehensive standard library.[28]
Python interpreters are available for many operating systems. CPython, the reference implementation of Python, is open source software[29] and has a community-based development model, as do nearly all of its variant implementations. CPython is managed by the non-profit Python Software Foundation.
