Learn Python Basics in 10 Days
A schedule and resources to cover python basics

Python is one of the popular programming languages. Mastering Python basics is crucial. Python has an easy and simple code style, which makes it easy to learn. It is also the language that is used in developing many media networks like Instagram, Amazon, Uber, Netflix, and many more.
In this article, let us try to learn the basics of python in 10 days. This article is written assuming you have some programming knowledge.
Day 1- Installation and First program:
First, you need an IDE for running your python script. If you already don’t have one, Pycharm is one of the best IDE. The community version is free and sufficient for beginners. You can download Pycharm using this link.
It is the unwritten law that the first program when you’re trying to learn a new language is always printing Hello World. With Python printing, Hello World is just a one-line program.
print(“Hello World”)
Day 2- Variables and Data-types:
Variables: In python, variables are memory containers used to reserve memory to store any kind of data. One cool thing is that you don’t need to specify the type of the variable in Python, unlike other popular programming languages.
Here is a link to learn variables and practice some examples.
Data-type: Each value in python is stored in a different format, this is classified using data type. Try working with different data-type like a number, string, boolean.
Check this link to learn data-type and practice some examples.
Day 3- Keyword and operators:
Keyword: There are nearly 33 reserved words as keywords in python. Each of them is used to trigger a unique function. Try programs with all of the keywords and understand their capabilities.
Check out this link for a detailed explanation of keywords.
Operators: In Python, there are quite a few operations similar to any other programming language. Try different kinds of operations like arithmetic operators, assignment operators, comparison operators, membership operators.
Here is a link for you to understand all kinds of operators.
Day 4- String Methods:
A sequence of characters has a data type called a string. There are numerous built-in methods related to string. These methods are used for different operations on strings. Some interesting methods like capitalize(), split(), starts-with(), and many more. Try to create programs and understand the working of these methods.
Check this link for a complete guide on string methods.
Day 5- Control Structure:
The flow of the program can be controlled using some structure in the program. Understanding how each keyword and statement change the program is important. The flow of the program can be classified into three kinds, try programming and experimenting with these:
Sequence — Default flow of the program.
Selection — Upon condition evaluation is true like if, if-else, nested if-else.
Iteration — Repeating the same loop until the condition is false like for, while.
A detailed explanation for the control structure can be found in this link.
Day 6- Functions and Modules:
Functions: In a situation when a block of code is required to run multiple times a function is created. Try defining, calling, and passing arguments to the function.
Check out this link to know more about functions.
Modules: Modules are a set of functions, similar to the code library. Modules can be created and imported. There are a lot of built-in modules to work within Python. Try creating and using built-in modules in your program.
Learn more about modules by checking out this link.
Day 7- Exception Handling:
In any programming language, exception handling is extremely important. When an error occurs it can be managed with exception handling. Instead of stopping the program execution the except block will be executed. Try programming with exception handling and understanding keywords like try, except, finally, and raise.
Check this link for a detailed explanation about exception handling.
Day 8- File Operation:
Operating files with Python is an interesting topic. Opening, closing, creating, reading, and writing files are some of the operations. Files can be either opened in binary or text mode. The operation can be done on text files, PDF files, image files, excel files, and other formats of files. Try programming with different operations and files.
To learn more about file operation, check out this link.
Day 9- Oops Concepts:
Python is an object-oriented programming language. Four basic concepts in object-oriented programming are Inheritance, Encapsulation, Polymorphism, and Data abstraction. Learning these concepts and using them in your Python script is crucial. Try to work with programs by creating a class and object.
For more details about Oops concepts, check this link.
Day 10- Revise and Perfect these Concepts:
Every concept mentioned above is very important to understand. Perfecting and working on these concepts by trying different programs is crucial. Here are some sources that will help you to learn Python.
Sources:
Learn Basics with the W3 school website all the Python topics in detail are explained. Click here for the link.
If you like to watch videos and learn Python, this is one of the best channels. Click here.
Practice Python coding with this website, which has nearly 100 examples of python basics. Here is the link.



Comments
There are no comments for this story
Be the first to respond and start the conversation.