Skip to content

Python Programming 1

3 Days


TSG Training Limited

Summary

Price
£1,434 inc VAT
Study method
Classroom
Duration
Full-time
Qualification
No formal qualification
Additional info
  • Tutor is available to students

Location & dates

Location
Address
6 Long Ln,
Long Lane
City Of London
London
EC1A9HF
United Kingdom

Overview

Please be aware that before enquiring, course venue may be subject to change. This course is open to corporate bookings and individuals who are self-funding.

Description

About the course

Python is an object oriented rapid development language deployed in many scenarios in the modern world.
This Python Programming 1 course is designed to give delegates the knowledge to develop and maintain Python scripts using the current version (V3) of Python.

There are many similarities between Python V2 and Python V3. The skills gained on this course will allow the delegate to develop their own skills further using Python V2 or V3 to support the development and maintenance of scripts.

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

The delegate will learn and acquire skills as follows:
• Reading/writing text and binary files
• Declaring and initialising variables
• Constructing expressions with all operator types
• Using conditional statements
• Using iterative statements
• Manipulating text using regular expressions
• Declaring and using modules
• Using and creating Python objects
• Using built-in library functions
• Using lists and dictionaries
• Interacting with the email system
• Interacting with databases

Who will the Course Benefit?

Programmers who need to write or maintain scripts in Python.

Course Objectives
This course aims to provide the delegate with the knowledge to be able to produce Python applications that exploit all core elements of the language including input/output, variables, expressions, selection and iteration, functions, modules, classes and objects, email, and database operations.

Requirements

Familiarity with programming concepts is useful, this knowledge can be obtained by attendance on the Introduction to Programming course.

Follow-On Courses

• Python Programming 2
• Introduction to Python Cryptography
• Apache Web Server
• PHP Programming
• PHP & MySQL for Web Development
• PHP & MariaDB for Web Development
• Perl Programming
• Ruby Programming
• Ruby Programming & Ruby on Rails
• Introduction to MySQL
• Introduction to MariaDB

Notes:
• Course technical content is subject to change without notice.
• Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Course Contents - DAY 1

Course Introduction
• Administration and Course Materials
• Course Structure and Agenda
• Delegate and Trainer Introductions

Session 1: INTRODUCTION TO PYTHON
• What is PYTHON and why PYTHON is useful
• Installing Python
• The IDLE editor
• A simple PYTHON Program

Session 2: PYTHON BASICS
• How to run PYTHON programs on UNIX and Windows platform
• Lines and Indentation
• Multiple line Statements
• Quotation Marks
• Reserved Words in Python
• Python Suites
• Input
• Output
• Working with Files
• Labs

Session 3: PYTHON VARIABLES
• Assignments
• Data Types
• Numbers
• Strings
• Lists
• Tuples
• Dictionaries
• Labs

Session 4: PYTHON OPERATORS
• Arithmetic Operators
• Comparison Operators
• Assignment Operators
• Bitwise Operators
• Logical Operators
• Membership Operators
• Identity Operators
• Operator Precedence
• Labs

Course Contents - DAY 2

Session 5: CONDITIONAL AND CONTROL STATEMENTS
• if elif else constructs
• while and for Loops
• Iteration
• Labs

Session 6: FUNCTIONS
• Creating Functions
• Def Statement
• Calling functions
• Scoping variables
• Passing arguments
• Labs

Session 7: MODULES
• What is a module
• Standard modules
• How to define and code a module
• Using import
• Argument passing and return values from a module
• Labs

Session 8: PATTERN MATCHING
• The re module
• How pattern matching works
• Pattern matching operators
• Pattern matching special characters
• Labs Part 1
• Pattern matching options
• Pattern substitution
• Pattern tagging
• Translation
• Labs Part 2

Course Contents - DAY 3

Session 9: Python OO
• Why use OO
• Creating a simple class
• Inheritance
• Passing data into a class
• More complex classes
• Labs

Session 10: EXCEPTIONS
• What are exceptions
• Default Handler
• catch/try/raise Statements
• Class Based Exceptions
• What Not To Do
• Labs

Session 11: WORKING WITH EMAIL
• Simple emails
• HTML Emails
• Working with Attachments
• Labs

Session 12: WORKING WITH DATABASES
• Python and Databases
• Connecting to MySQL Database
• Working with tables /Records

Questions and answers

Reviews

Currently there are no reviews for this course. Be the first to leave a review.

FAQs

Study method describes the format in which the course will be delivered. At Reed Courses, courses are delivered in a number of ways, including online courses, where the course content can be accessed online remotely, and classroom courses, where courses are delivered in person at a classroom venue.

CPD stands for Continuing Professional Development. If you work in certain professions or for certain companies, your employer may require you to complete a number of CPD hours or points, per year. You can find a range of CPD courses on Reed Courses, many of which can be completed online.

A regulated qualification is delivered by a learning institution which is regulated by a government body. In England, the government body which regulates courses is Ofqual. Ofqual regulated qualifications sit on the Regulated Qualifications Framework (RQF), which can help students understand how different qualifications in different fields compare to each other. The framework also helps students to understand what qualifications they need to progress towards a higher learning goal, such as a university degree or equivalent higher education award.

An endorsed course is a skills based course which has been checked over and approved by an independent awarding body. Endorsed courses are not regulated so do not result in a qualification - however, the student can usually purchase a certificate showing the awarding body's logo if they wish. Certain awarding bodies - such as Quality Licence Scheme and TQUK - have developed endorsement schemes as a way to help students select the best skills based courses for them.