Learning Path: Python
Course
Online
Description
-
Type
Course
-
Methodology
Online
-
Start date
Different dates available
Learn about Python from start to finishRising in popularity alongside data science, it’s easy to forget that Python has a wide range of applications outside of crunching numbers and outputting graphs. This Learning Path will take you through a tour of the language from the fundamentals right up to more advanced patterns that help make your code more expressive, efficient and readable.About the AuthorWilliam FisetWilliam Fiset is a Mathematics and Computer Science Honors student at Mount Allison University with in interest in competitive programming. William has been a Python developer for +4 years, starting his early Python experience with game development. He owns a popular YouTube channel that teaches Python to beginners and the basics of game development.Daniel ArbuckleDaniel Arbuckle holds a Doctorate in Computer Science from the University of Southern California, where he specialized in robotics and was a member of the nanotechnology lab. He now has more than ten years behind him as a consultant, during which time he’s been using Python to help an assortment of businesses, from clothing manufacturers to crowdsourcing platforms. Python has been his primary development language since he was in High School. He’s also an award-winning teacher of programming and computer science.
Facilities
Location
Start date
Start date
About this course
Get to know Python’s data structures to enhance good design patterns and scalability to your code
Construct loops to perform repeated tasks
Create functions in Python to provide programs with better modularity
Understand the concept of function recursion adding clarity to write and debug codes
Manage program control flow and branching to perform conditional tasks
Install third-party libraries to add advanced customizations to images
Perform picture manipulations such as contrast and grayscale
Build Python packages to efficiently create reusable code
Become proficient at creating tools and utility programs in Python
Use the Git version control system to protect your development environment from unwanted changes
Harness the power of Python to automate other software
Distribute computation tasks across multiple processors
Handle high I/O loads with asynchronous I/O for smoother performance
Take advantage of Python's metaprogramming and programmable syntax features
Get to grips with unit testing to write better code, faster
Reviews
This centre's achievements
All courses are up to date
The average rating is higher than 3.7
More than 50 reviews in the last 12 months
This centre has featured on Emagister for 4 years
Subjects
- Programming
- University
- Works
Course programme
- Go to the Python.org website
- Download Python
- Install Python
- Review the difference between an IDE and text editor
- Show the user different IDEs and text editors that they can choose from
- Learn how to use a text editor in action
- Create basic variables, such as integers and strings
- Explain naming conventions
- Explain some of the shortcuts to create variables
- Introduce standard types and terminology
- Give examples of strings, ints, longs, and floats
- Introduce examples with the +, -, /, and * operators
- Do more examples with advanced operators, such as **, //, and %
- Mention that operators of different types have different effects
- Do A demo of what a string is
- Explain difference between single quotes and double quotes
- Take a look at an example of how to use triple quotes
- Do a demo of how to use a simple method, such as upper and lower
- Have an example of how to use another method, such as capitalize
- Learn what the Python string API is
- Do a demo of how to use the count function
- Have an example of how to use the replace function
- Take a look at a demo of basic formatting (using integer/floats as examples)
- Learn more advanced formatting using strings and padding
- Know how to format with named arguments
- Get user input
- Capitalize input names
- Format the strings using the .format method from the previous video
- Create a simple list with names and another with numbers
- Explain the concept of indexing
- Access and delete elements with indexing
- Do a demo of what the .append method is and how it works
- Take a look at the Python API and know that there are many list functions that can be used.
- Finish off with an example of using the .index and del commands to implement the .remove list method
- Set up a scenario whereby we have a bunch of lists and want to form the alphabet using list methods
- Use the .sort method and the .insert method
- Pull the example together using the .join method to finish the alphabet
- Explain how the min/max functions work
- Learn how the sum function works and how it’s not meant to be used for strings
- Explore how the len() function works
- Do a demo of what a 2D array is
- Take a look at how to query from a 2D array
- Have an example of how array referencing works
- Take a look at a demo of what the range function is and how it works
- Explore array slicing examples
- Learn how to use negative indexing
- Explain how the computer can make a decision with an “if” statement
- Take a look at a simple example of how to use an if statement by writing a program to identify a given name
- Give a demo of using the “==” operator and why it differs from “=”
- Show the difference between >, >= and <, <= and give a demo
- Know what “else” is with the help of a demo
- Explore what elif is and how it differs from if with a demo
- Use both keywords in an if statement
- Explain what the “and”, “or”, and “not” keywords are for and when you would use them
- Explain what the concept and True and False is
- Give a few examples of how “and”, “or”, and ”not” work with True and False. In the next video, give more detailed examples
- See a demo of how to use an “and” clause
- Take a look at a demo of how to use an “or” clause
- Do a demo of how to use a “not” clause
- Write a program to evaluate simple mathematical expressions in a file
- Make the program extract out the largest value in the file
- Introduce the “in” keyword used in the for loop structure
- Do a demo of how to use a for loop with a list
- Loop over a list with a for loop displaying the index of each element
- See a demo of how to use a while loop
- Talk about the advantage of using a while loop and when you would want one
- Know what an infinite loop is and why while loops are prone to infinite loops
- See a demo of what an iterable is by checking for the __iter__ property
- Learn how to use a for loop to iterate over an iterable
- Explore how a for loop works behind the scenes using an iterator
- See a demo of how to extract the consonants from a string
- Take a look at another demo of how to add up only the even numbers in a list
- Creating a prime number checker incorporates all these things
- Learn how to create a prime number checker using a loop
- Patch the bugs created in the first prime number checker with if statements
- Know what a function is and why you would want to use one
- Learn about condensed code, which is code that is clearer, reusable, and with fewer bugs
- Take a look at a small example function to calculate the area of a circle for instance
- Explore the difference between arguments and parameters and then go on to learning examples
- Create a function that uses default parameter
- Explain what a variadic function is and how to make one
- Explanation with slides of what a void function is and what a function that returns a value looks like
- Learn when to use one instead of the other and compare and contrast with functions that are built into Python
- The first example will be a function that can reverse a string
- The next function will be a void function that checks whether a number is a palindrome
- Take a look at additional examples
- Implement a generalized shift cipher
- Code the encryption function
- Code the decryption function
- Explore the basics of recursion (a function that calls itself and the base case)
- Take a look at the advantages of using recursion
- Give simple examples including doubling a number recursively and computing an exponential recursively
- See a demo of how to sum up the digits of a number recursively
- Make another recursive function to count the number of vowels in a string
- See a demo of importing the math module
- Take a look at the difference between importing and importing with from
- Know when to use the “as” keyword while importing something
- Showcase the Python standard library modules on the Python.org website
- See a demo of how to import something from a Python standard module and use it
- Learn to copy a file using the shutil module
- Walk the viewer through how to create a simple module to compute the volume of simple solids
- Import the new created module
- Have an example of how to use a function in the new module
- Take a look at a demo of what if __name__ == ‘__main__’ is and why it is used
- See how to test code in a module using if __name__ == ‘__main__’
- Begin by introducing pip, a Python command-line utility
- Learn how to install PIL/Pillow for picture manipulation
- Run a small program with the new library just to make sure it works
- Take a look at a simple example of how to open and display an image
- Create a function that will resize multiple images to a certain size
- Have a demo on how to crop an image
- See a demo of how to do edge detection
- Grayscale an image
- Learn to increase the contrast and brightness of an image
- Begin by introducing what the color channels in an image are
- Access the pixels in the picture and transform the channel to produce a negative image
- Where to go next
- Review sections 1 to 8
- Go to the Python.org website
- Download Python
- Install Python
- Review the difference between an IDE and text editor
- Show the user different IDEs and text editors that they can choose from
- Learn how to use a text editor in action
- Create basic variables, such as integers and strings
- Explain naming conventions
- Explain some of the shortcuts to create variables
- Introduce standard types and terminology
- Give examples of strings, ints, longs, and floats
- Introduce examples with the +, -, /, and * operators
- Do more examples with advanced operators, such as **, //, and %
- Mention that operators of different types have different effects
- Do A demo of what a string is
- Explain difference between single quotes and double quotes
- Take a look at an example of how to use triple quotes
Additional information
Learning Path: Python