Introduction to Python
Learn what Python is, its features and where it is used.
Python is an easy, general purpose, object-oriented, high level and interpreted programming language, used to develop console based, GUI based, audio/video based, web based and many other applications. It is also used in Data Science, Machine Learning and more.
Learn what Python is, its features and where it is used.
Learn how to install Python and set up the environment.
Learn single-line and multi-line comments in Python.
Learn how to read input and print output.
Learn how variables are created and named in Python.
Learn the built-in data types of Python.
Learn how to convert one data type into another.
Learn arithmetic, comparison, logical, bitwise and other operators.
Learn if, if-else and nested conditional statements.
Learn for and while loops in Python.
Learn how break and continue change the flow of a loop.
Learn how strings are created and manipulated.
Learn lists and their methods.
Learn tuples, the immutable sequence type.
Learn sets and their operations.
Learn dictionaries and key-value pairs.
Learn the built-in functions and methods used for file handling.
Learn how to pass arguments to a Python program from the command line.
Learn Python File System.
Learn what exceptions are and the common built-in exceptions in Python.
Learn how to handle exceptions using try, except, else and finally blocks.
Learn how to raise exceptions with raise and check conditions with assert.
Learn how to define and call functions in Python.
Learn how to organize and reuse code with modules.
Learn what namespaces are and how Python uses them to organise names and avoid conflicts.
Learn how to create and use packages to organise modules in Python.
Learn what regular expressions are and the patterns used to match text.
Learn the re module and its functions such as match, search, findall and sub.