Course Details
Course Outline
1 - Python Basics
Running PythonHello, World!LiteralsPython CommentsData TypesVariablesWriting a Python Moduleprint() FunctionNamed ArgumentsCollecting User InputGetting Help
2 - Functions and Modules
Defining FunctionsVariable ScopeGlobal VariablesFunction ParametersReturning ValuesImporting Modules
3 - Math
Arithmetic OperatorsModulus and Floor DivisionAssignment OperatorsBuilt-in Math FunctionsThe math ModuleThe random ModuleSeeding
4 - Python Strings
Quotation Marks and Special CharactersString IndexingSlicing StringsConcatenation and RepetitionCommon String MethodsString FormattingBuilt-in String Functions
5 - Iterables: Sequences, Dictionaries, and Sets
DefinitionsSequencesUnpacking SequencesDictionariesThe len() FunctionSetsargs and kwargs
6 - Flow Control
Conditional StatementsThe is and is not OperatorsPython's Ternary OperatorLoops in PythonThe enumerate() FunctionGeneratorsList Comprehensions
7 - File Processing
Opening FilesThe os and os.path Modules
8 - Exception Handling
Wildcard except ClausesGetting Information on ExceptionsThe else ClauseThe finally ClauseUsing Exceptions for Flow ControlException Hierarchy
9 - Dates and Times
Understanding TimeThe time ModuleThe datetime Module
10 - Running Python Scripts from the Command Line
The sys Modulesys.argv
Actual course outline may vary depending on offering center. Contact your sales representative for more information.
Who is it For?
Target Audience
The course is aimed at students new to the language who may or may not have experience with other programming languages.
Other Prerequisites
Some programming experience.