Overview
Due to its flexibility, Python is now considered one of the top programming languages, ease of learning, and versatility. You can use in almost every discipline and industry, including Web Development, Data Science, Machine Learning, and Networking.
Designed for more experienced participants, Mastering Python programming is an introductory-and-above -level, hands-on Python programming training course. You’ll explore everything from the basics of writing and running Python scripts to more advanced features such as file operations, regular expressions, working with binary data and using the extensive functionality of Python modules.
Extra emphasis is placed on features unique to Python, such as, tuples, array slices and output formatting. The course trains participants to work with Python, beyond the academic overview of syntax and grammar.
What You'll Learn
- Creating Python scripts
- Python data types
- Reading and writing files
- Searching and replacing text with regular expressions
- The standard library and its work-saving modules
- Lesser-known but powerful Python data types
- Creating professional Python applications
- Working with dates, times, and calendars
- Using lists, dictionaries, and sets
- Pythonic features such as comprehensions and iterators
- Exception handling
Curriculum
- What is python?
- The Python Timeline
- Advantages/Disadvantages of Python
- Getting help with pydoc
- Starting Python
- Using the interpreter
- Running a Python script
- Python scripts on Unix/Windows
- Editors and IDEs
- Using variables
- Built-in functions
- Strings
- Numbers
- Converting among types
- Writing to the screen
- Command line parameters
- About flow control
- White space
- Conditional expressions
- Relational and Boolean operators
- While loops
- Alternate loop exits
- About array types (AKA sequences)
- Lists and list methods
- Tuples
- Indexing and slicing
- Iterating through a sequence
- Nested sequences
- Sequence functions, keywords, and operators
- List comprehensions
- Generator Expressions
- File overview
- Opening a text file
- Reading a text file
- Writing to a text file
- Reading and writing raw (binary) data
- Converting binary data with struct
- About dictionaries
- Creating dictionaries
- Iterating through a dictionary
- About sets
- Creating sets
- Working with sets
- Defining functions
- Parameters
- Global and local scope
- Nested functions
- Returning values
- The sorted() function
- Alternate keys
- Lambda functions
- Sorting collections
- Using operator.itemgetter()
- Reverse sorting
- Syntax errors
- Exceptions
- Using try/catch/else/finally
- Handling multiple exceptions
- Ignoring exceptions
- The import statement
- Module search path
- Creating Modules
- Using packages
- Function and Module aliases
- About OO programming
- Defining classes
- Constructors
- Methods
- Instance data
- Properties
- Class methods and data
- RE syntax overview
- RE Objects
- Searching and matching
- Compilation flags
- Groups and special groups
- Replacing text
- Splitting strings
- The sys module
- Launching external programs
- Math functions
- Random numbers
- The string module
- Reading CSV data
- Working with dates and times
- Translating timestamps
- Parsing dates from text
- Formatting dates
- Calendar data
- Paths, directories, and filenames
- Checking for existence
- Permissions and other file attributes
- Walking directory trees
- Creating filters with fileinput
- Using shutil for file operations
- Defaultdict and Counter
- Prettyprinting data structures
- Compressed archives (zip, gzip, tar, etc.)
- Persistent data
- Using requests
- Grabbing web content
- Sending email
- Using SSH for remote access
- Using FTP
- Parsing command-line options
- Detecting the current platform
- Trapping signals
- Implementing logging
- Python Timeline
- Advantages/Disadvantages of Python
- Getting help with pydoc
Who should attend
- Software Engineers
- DevOps Engineers
- Cloud Architects
- Data Scientists
- Web Developers
- Machine Learning professionals
- .Net Developers
- Backend Developers
- RPA Developers
- Web Designers
- WordPress Developers
- PHP Developers
- Tech Support Professionals