Python: The Complete Course
Learn to program with Python: from your first line to files, objects, data analysis and charts.
88 lessons≈ 25 hInstructor: Ngahtech AcademyUpdated 22 November 2026
What you will learn
- Write Python programs with variables, operators, conditions, loops and functions
- Use strings, lists, tuples, sets and dictionaries effectively
- Handle errors and read and write files
- Build classes and use object-oriented programming
- Use the standard library and install packages with pip
- Analyse data with NumPy and pandas and draw charts with Matplotlib
A complete, free Python course in 88 lessons, written for beginners and for students following the GCE Computer Science syllabus.
Every lesson explains one topic with clear examples, has a Try it yourself editor that runs real Python in your browser, and ends with exercises and answers. Later modules cover files, object-oriented programming, NumPy, pandas, Matplotlib charts, an introduction to machine learning and databases.
Requirements
- No programming experience needed
- A computer or smartphone with a web browser
Curriculum
Module 1: Getting started 7 lessons
- 1. What is Python?Free preview 10 min
- 2. Installing Python and running codeFree preview 15 min
- 3. Syntax, statements and indentationFree preview 15 min
- 4. Output with print()Free preview 15 min
- 5. CommentsFree preview 10 min
- 6. VariablesFree preview 15 min
- 7. Getting user inputFree preview 15 min
Module 2: Data types and operators 8 lessons
- 8. Data typesFree preview 15 min
- 9. NumbersFree preview 15 min
- 10. Casting: converting typesFree preview 10 min
- 11. BooleansFree preview 10 min
- 12. Arithmetic and assignment operatorsFree preview 15 min
- 13. Comparison, logical, identity and membership operatorsFree preview 15 min
- 14. Bitwise operators and precedenceFree preview 10 min
- 15. NoneFree preview 10 min
Module 3: Strings 6 lessons
- 16. StringsFree preview 15 min
- 17. Indexing and slicing stringsFree preview 15 min
- 18. Modifying and joining stringsFree preview 15 min
- 19. String methodsFree preview 15 min
- 20. f-strings and string formattingFree preview 15 min
- 21. Practice: working with textFree preview 20 min
Module 4: Decisions and loops 8 lessons
- 22. if, elif and elseFree preview 15 min
- 23. Short if, nested if and passFree preview 10 min
- 24. match statementsFree preview 15 min
- 25. while loopsFree preview 15 min
- 26. for loops and range()Free preview 15 min
- 27. break, continue and loop elseFree preview 10 min
- 28. Nested loops and patternsFree preview 15 min
- 29. Practice: a menu-driven programFree preview 25 min
Module 5: Lists, tuples, sets and dictionaries 12 lessons
- 30. ListsFree preview 15 min
- 31. Changing, adding and removing list itemsFree preview 15 min
- 32. Looping through lists and list comprehensionsFree preview 20 min
- 33. Sorting, copying and joining listsFree preview 15 min
- 34. TuplesFree preview 15 min
- 35. Unpacking tuples and listsFree preview 10 min
- 36. SetsFree preview 15 min
- 37. Set operations and frozensetFree preview 15 min
- 38. DictionariesFree preview 15 min
- 39. Changing, adding and removing dictionary itemsFree preview 15 min
- 40. Looping, copying and nesting dictionariesFree preview 15 min
- 41. Choosing the right collectionFree preview 15 min
Module 6: Functions 10 lessons
- 42. FunctionsFree preview 15 min
- 43. Arguments: positional, keyword and defaultFree preview 15 min
- 44. *args and **kwargsFree preview 15 min
- 45. Return values, docstrings and type hintsFree preview 15 min
- 46. Scope: local, global and nonlocalFree preview 15 min
- 47. Lambda functionsFree preview 10 min
- 48. RecursionFree preview 15 min
- 49. DecoratorsFree preview 15 min
- 50. Iterators and iterablesFree preview 15 min
- 51. GeneratorsFree preview 15 min
Module 7: Modules and the standard library 9 lessons
- 52. Modules and importFree preview 15 min
- 53. pip, packages and virtual environmentsFree preview 15 min
- 54. The math moduleFree preview 15 min
- 55. Random numbersFree preview 15 min
- 56. Dates and timesFree preview 15 min
- 57. JSONFree preview 15 min
- 58. Regular expressionsFree preview 20 min
- 59. StatisticsFree preview 15 min
- 60. Useful built-in functionsFree preview 15 min
Module 8: Errors and files 6 lessons
- 61. Handling errors: try and exceptFree preview 15 min
- 62. Raising exceptions and custom errorsFree preview 15 min
- 63. Reading filesFree preview 15 min
- 64. Writing and creating filesFree preview 15 min
- 65. Deleting files, folders and pathlibFree preview 15 min
- 66. CSV filesFree preview 15 min
Module 9: Object-oriented programming 7 lessons
- 67. Classes and objectsFree preview 15 min
- 68. __init__, self and methodsFree preview 15 min
- 69. Class and instance attributesFree preview 15 min
- 70. InheritanceFree preview 15 min
- 71. PolymorphismFree preview 10 min
- 72. Encapsulation and propertiesFree preview 15 min
- 73. Special methodsFree preview 15 min
Module 10: Data analysis and charts 7 lessons
- 74. NumPy arraysFree preview 20 min
- 75. NumPy operations: indexing, axes and statisticsFree preview 20 min
- 76. pandas: Series and DataFramesFree preview 20 min
- 77. pandas: filtering, sorting, grouping and reading CSVFree preview 20 min
- 78. Matplotlib: line plots, labels and gridsFree preview 20 min
- 79. Matplotlib: bar, pie, histogram and scatter chartsFree preview 20 min
- 80. Statistics for data scienceFree preview 20 min
Module 11: Machine learning and databases 4 lessons
- 81. Machine learning: linear regressionFree preview 25 min
- 82. Machine learning: training, testing and classificationFree preview 25 min
- 83. Databases with sqlite3Free preview 25 min
- 84. Python with MySQL and MongoDBFree preview 20 min
Module 12: Projects 4 lessons
- 85. Project: a report card generatorFree preview 30 min
- 86. Project: a text-based quiz gameFree preview 30 min
- 87. Python for the web: Flask and DjangoFree preview 20 min
- 88. Final project: build your own Python applicationFree preview 120 min
Reviews
No reviews yet.
