Duration: 3 Days
Course Overview
The course is designed to expose the candidate to the basic structures of Python and its Object Orientated implementation. It covers file IO, GUI, Procedural and Object Orientated approaches and several modules which the developer will find useful in numerical analysis.
How can I attend my course?
COURSE OBJECTIVES
• Create edit and run simple Python scripts using the Anaconda IDE.
• Use all of the main data types in Python and explain how Python dynamically creates variables.
• Uses lists, tuples and dictionaries as appropriate to manage collections.
• Process lists and strings using Python’s functions and methods.
• Use conditional statements to control the flow of execution.
• Use for and while loops to repeat sequences of statements.
• Create functions, which accept arguments and return data thus demonstrating decomposition of your code and structure to your program.
• Read and write to files in multiple formats.
• Design a simple GUI using tkinter with labels, entry field and buttons.
• Use the basic features of the numpy and mathplotlib modules.
• Use the math and cmath libraries to solve numerical problems.
• Create objects, which derive attributes and methods from base classes.
• Override methods of base classes.
• Use SQL to query a relational database.
Course Content
Day 1
• Python:
– The Anaconda IDE
– Syntax and layout
• Pythons Data Types:
– Integers
– Floats
– Boolean
– Strings
– Lists
• I/O with Python:
– Input
– print
• Mutable and Immutable objects:
– Dynamic typing
– Variable initialisation
– Copy and deep copies
• Loops:
– For loops and the iterable
– While loops
• Conditional operations:
• List and string manipulation:
– Indexing
– Slicing
– Built in methods
• Math and logic operations:
– Standard math operations
Day 2
• Functions in python:
– In and out
– Default values as arguments
– Kwargs
– Recursion
• Other data types:
– Dictionaries
– Tuples
• Multi dimensional lists:
– Understanding Modules
– Using modules
– Creating modules
• Python and classes:
– Objects in Python
– Inheritance, encapsulation and polymorphism.
• Bitwise operations:
– File IO
– Text file, csv and pickle
• Database interaction with MySql
Day 3
• Math and cmath modules:
– Basic manipulation
– Power and logs
– Trigonometry
– Complex numbers
• MathPlot:
– mathplotlib
– numpy
• Numerical Methods:
– Iterative functions
– Polynomial equations
• Web Interaction:
• Basic GUI creation:
– tkinter