Python fullstack development requires learning six core subjects: Python programming language (the foundational language), three web frameworks (Django for full web applications, REST API for application communication, and Flask for microservices), UI basics (HTML, CSS, JavaScript, jQuery, Bootstrap), and database management (SQLite3 and MySQL). The course duration is 4 months, with Python-only training taking 45-50 working days. Python is a general-purpose, high-level, interpreted, dynamically typed, and case-sensitive programming language that serves as the mandatory foundation before learning any framework.
Deep Dive
Prerequisite Knowledge
- No data available.
Where to go next
- No data available.
Deep Dive
FULL STACK PYTHON BY MOHAN REDDY SIR YOUTUBE LIVE STREAM FROM DURGASOFTAdded:
I'm going to discuss in Python fullstack development what subjects are going to be covered. Okay. So I'll explain you clearly each and every subject purpose.
Okay. Then you will get clarity.
So what things are there in Python fullstack development. Right. Yeah. So first of all in Python fullstack development or if you want to become a Python fullstack developer you must should learn one language. Okay that is our main core language. So that language name is Python. So this is the main subject. Okay Python first language.
Next, some frameworks are there in Python fullstack development especially uh to develop web applications or websites. Okay. Some frameworks are there. The frameworks are nothing but like Django framework, REST API framework, Flask framework. These are the frameworks.
Along with these frameworks, you must and should aware of UI basics means user interfaces like HTML plus CSS plus JavaScript and then jQuery and then Bootstrap.
Okay. Then along with UI designing or UI basics, so you must and should aware database knowledge. So in full stack development we are going to cover SQL library and my SQL.
These are the database tools.
So observe carefully. These are the main subjects which I'm going to cover in full stack development. Okay. one language that is Python and total three frameworks TJ Django, rest, Flask.
These are web application development frameworks. In the web application development process, you must aware the UI design like how to prepare the web pages or websites design- wise. Design purpose we need to learn UI basics.
Okay. and database management also required right in the web development process compulsory we need to handle with our data so that data base management purpose we need to learn database tools like SQLite 3 and MySQL so total these six subjects I'm going to cover in Python fullstack development so if you enroll for this Python fullstack development the course duration is 4 months Yes, it will take totally 4 months to complete all these sub six subjects that is a part of Python fullstack development for suppose if you enroll only for Python that means some students are looking for only Python programming language according to their requirement it's enough Python basic Python that is core Python advanced Python both are there in Python language only Python If you enroll so it takes the duration is 45 working days to 50 working days.
Okay, that means up to 2 months I can say that only Python up to 2 months like 45 working days to 50 working days and full stack development of Python that means total three frameworks one programming language UI basics and SQLite and MySQL for this it will take 4 months duration. Okay. So depends on your requirement you can choose anyone.
So I can give you some clarity about this who should go with only Python language and who should go with complete Python fullstack development. Suppose your requirement is after learning Python if you want to move towards data science or data analysis or MI ML machine learning or AI in this area if you are planning to go with this area like data science, data analysis, AI and ML even AWS devs.
So after learning Python if you are moving towards these courses then better to go with only Python core in advance.
So no need to learn Djang or SAP flask UI and all. Okay. But some students are looking for purely Python if they don't have any plan to move towards data science or AL ML ML AI and uh dev apps AWS like this. So if you want to become complete fullstack developer of Python so better to go with all these subjects full stack development. So this is just I'm giving clarity then you can decide which you want. Okay. Yes. Now let's talk about each and every subject purpose actually.
So I'm saying in fullstack development you are going to learn these all six subjects right. So each subject purpose you must aware that. So first subject is python. So what is Python here? Okay.
Yeah. First we'll talk about Python later. I'm giving just brief introduction each and every subject. So that what is the purpose of subject you must know that. So after that we'll begin with Python only because Python is mandatory before going to learn anything in full stack development like Django, REST, AP, Flask other things. So first 45 days to 50 days we have to focus on only Python. So first step Python is Python is a programming language.
Yes, Python is a programming language.
Generally any programming language if you take which is used to develop coding part coding part for the applications.
Yes, Python is a programming language which is used to develop coding part or which is used to write coding part for the application development.
So if you want to develop the applications you must write some logic or coding right that coding we can write using what language? Python language. So that's what we can say it is a programming language.
So programming part is important and logic part is important for developing any application.
Okay, this is the language actually. So throughout entire fullstack development wherever you write some logic or wherever you write some coding part that coding part going to be written in python language through so that's what you must aware python compulsory before going to start writing code in any framework like django estab and all so this is our main core language what we are going to learn first initial days of Python fullstack development course. Okay. So once you know about Python, once you are good at Python.
Okay. So then it's easy to develop any applications by using these frameworks.
So next subject is what? Django. What is Django here? So Django is not a programming language. Then what it is?
So you can say Django is a framework.
Yes, Django is a framework which is used to develop the web applications.
So if you want to develop web applications then we use Django framework in Python fullstack development. So it's not a programming language, it is a framework. Okay. What is framework generally? Yes, framework is nothing but it's a collection of built-in class libraries.
Built-in class library means each class library contains some built-in classes like predefined classes and each predefined class is having built-in functionality. That means already pre-written or developed code which is directly available to use in our applications.
So the moment when we install Django framework so it offers lot of libraries especially which are required to develop web applications. Those libraries can be used to develop web applications at faster rate. That means if they have built-in libraries or predefined libraries using that built-in libraries we can quickly develop the web applications.
Right? We don't need to waste the time because from the scratch we need not to write any logic only uh we can use the libraries which are provided by Django.
So it's a framework. Framework means it's having set of rules and specifications.
Okay. It's having sort lot of libraries.
By following that rules and specifications we have to develop some applications. So Django is not a programming language. Django is a framework which is used to develop web applications. Web application means what?
Please mute your audio. Yeah. Web application means what? The application which will provide services over the web is called web application. Right? The application which will provide which will provide the services services over the web is called web applications. Simply application which will provide the services over the web is called web application. Okay fine. But I'm saying that Django is a framework and Django is a Python based framework. Django is Python based web development framework.
It's completely Python based web development framework.
So that means Django framework completely written in Python language only. Okay. Django framework written in written in Python language.
So ultimately I can say to start learning of Django especially to develop web applications first of all you must have the knowledge of Python. So Django prerequisite subject is Python. If you know the Python knowledge then easily we can implement web applications using Django framework.
Why Django need Python means? Because Django is completely written in Python language only. How they developed Django framework? By writing Python script. So that's the reason we can say Django is a Python based web development framework.
It's completely Python frameworks and Django can understand the instructions from Python only. So you can't send any instructions from different language like Java or C language. So Python instructions only can understand by Django. So it is easy to implement web applications by writing code in Python language. So to learn Django, Python is mandated to learn Python nothing is mandatory because Python is a basic programming language. To learn this basic language, no any basic language is required like C, C++ not at all because itself Python itself it is a basic language, right? you can learn from scratch. Okay? And also you will get the knowledge in the basic level and intermediate level and advanced level once you complete your Python course here. So I'll teach from the scratch. No need to worry. So if some students feel that I don't have any programming knowledge then is that possible to learn Python? Undoubtedly it's possible to learn Python. Python no prerequisite languages. Okay. directly you can start learn with Python only and Django before going to Django you must have the Python knowledge okay otherwise we can't so this is about Django subject purpose okay it is purpose is what to develop web applications what type of framework it is Python framework why it is Python framework because it written in completely Python language right fine next I'm going to discuss about third subject which is also very very important important in real time that is rest API.
This is our third subject which I'm going to cover in our fullstack development course rest API. See sir whatever the order I have written here same order I'm going to cover all these subjects but except UI and SQite because these two under comes into Django rest api and flask with this frameworks only in the middle. So let's talk about rest API. So we know uh how to develop Django web application by using Python. We are ready with web application right? Then why rest API again? Yes, it's very important in real time. What is the rest API purpose? I'll tell you that. So here first of all rest AP is one of the framework. Let's talk about this. Rest API is a framework.
It is also completely Python based framework. Rest API is a framework.
Purpose of the rest API is which is used to develop which is used to develop the APIs.
APIs for web applications.
APIs for web application.
In rest API.
In rest API, rest means rest means representational state transfer in rest API. Okay. In rest API, API means rest means what? Rest means representational state transfer in rest API.
API means application application programming interface. Application programming interface.
So rest means representational state transfer. AP means application programming interface. Rest is an architecture or design pattern. Simple the APIs which is going to design based on rest architecture is called rest API. So what is the use of API sir? Because I'm saying that rest API is used to develop APIs application programming interface for web applications. So why rest API means actually API is a software tool. AP is a software tool which enables which enable the web application which enable the web application to communicate to communicate with other applications to communicate with other application.
Yes, this is very important in real time. Right? For example, you are having you do you are going to deal with many web applications in real time. For example, uh consider a flipcard.com website is there.
In the flipcart.com website, what we can do generally we can select the product and we can click on buy now. After that the flipcart website can communicate with the banking application for making payments. Right here what's going to happen for doing transaction over the Flipkart website. So the Flipkart web application should communicate with banking web application. Right here two applications are communicating or talking with each other by sending request and response for making transaction successful. So that communication who is going to provide means exactly API application programming interface. Here two or more application can communicate with each other that purpose API software is required. It's a software tool we have to design for our web application. Yes, Python with the Django through we are going to develop web applications. Once our web application is ready and to provide more services for the customers uh our web application need to be interact with other application for making transactions. So for that we need to generate API as a web developer responsibility. So API generate purpose we need to use another framework called test API. So the API is a software tool which enables the web application to communicate with other application. it's mandatory and the API which is used to generate or design by using an architecture called rest architecture is called rest API in any fullstack development not only here Python fullstack development even in Java fullstack development net fullstack development APIs are very common here we are using a name of subject like rest API Java people they use restful APIs net people they use web API So simple.
So this is another subject we are going to learn a rest API for generating APIs for web applications and when we should learn rest API after completion of Django only. So to learn rest API what are the prerequisite subject you know Django and as well as Python both are required.
How I said to learn Django, Python is mandatory before going to uh starts with Django means Python is mandator. So to learn rest API what is required? Django as well as Python both are required because even though we are using rest architecture to generate APIs complete logic part we are going to write using Python language only. So Python is mandatory everywhere we are going to use in fullstack development. Wherever you write logic part that logic part should be written in python only sir. So rest ap need two prerequisite subjects like jjango and python. Next other framework is that this is flask. So it is a completely different framework here. So it is also python based framework. So to learn flask jjango is not at all required. Rest AP not required directly you can start learn flask with only Python knowledge. So Python is enough to learn flask. What is flask framework? It is so flask is a framework.
Flask is a framework which is flask is a framework which is used to develop a single page web applications. Yes, single page web applications.
So as I said, Django is a framework which is used to develop web applications. But what is the difference between flask and django? Means Django through we can develop medium scale and maximum scale applications. Okay. But using flask we can't develop medium scale and maximum scale applications.
Mostly using flask we can develop what you know uh single page web applications only. Single page web application means like dashboard applications or micros service programming purpose we use flask. Flask is a framework which is used to develop single page web application and flask is a python based micro framework.
plus is a Python based micro framework.
Micro framework which can be used to write microervices programming microservices programming also.
So this is flask to learn flask only Python is required not uh anything required. So it's a small flask framework. So instant uh uh service usage purpose we can write flask script and it can be help to develop applications clearly. So in our syllabus flask is also one of the framework which is going to be deal a small scale application development. This is also used to design web applications. Okay.
Right. So total three frameworks are there. One is the flask framework and the rest API and then Django three frameworks and one language programming language and strictly remember that these three framework especially jungle rest api flask frameworks are completely written in python so python based frameworks so if you write juno rest api flask logics that should be in a form of python only so that's what python is mandatory language anguage to learn these frameworks. Okay, fine. So let's talk about UI and SQLite in what context we use this. But before going to talk about this, let's discuss in Python fullstack development especially we need to focus on front end development and backend development.
Front end and back end. Yes. So in front end development what things under comes like for example here front end means first time when we open any web page or website. So what we are going to see on the screen that is called front end right front end development. So the front- end development purpose we need to focus completely on UI.
So this is UI.
UI means user interfaces. UI means what?
user interface. So user interface means what we are going to present like uh login form, registration page, change password form. This type of UI design we need to represent to the customers.
Right? So that's is UI basics. It is only for designing which is under comes into front- end development. So in the UI basics I'm going to cover HTML first to create a web pages and do you want to add some styling to the web pages CSS cascading style sets and then if you want to make some functionality like validations purpose we need to use JavaScript. So HTML, CSS, JavaScript are the basic UI technologies. It's mandatory for every web development process. When it comes to jQuery, Bootstrap, jQuery is the extension of JavaScript. It is an add other framework.
So, Bootstrap is the combination of CSS and JavaScript. So, mostly we will prefer to use Bootstrap for bringing look and feel uh better when compared to normal plain HTML and CSS styling because nowadays Bootstrap will play the major role in web development design. So it's bring look and feel more for our web application or for our UI user interface. Okay, this is the main. So ReactJS will not be included here. It's not required because what we are going to do ReactJS we are going to do with the Django itself only. That's what we it is not part of our curriculum.
So bootstrap, jQuery, all these basics will be covered in Django time only at the time of Django development.
Okay. So we'll be covered that all UI because you have to deal with the complete front- end development like UI design everything is there. So this is the part of front end and back end is having three subcomponents. Okay, back end is having three subcomponents actually. So what are that in the backend development what are the required first thing is the programming language it's compulsory in the backend programming language that means logic must and should be right right the programming language what is that Python next the frameworks yes in the backend development compulsory frameworks also required so frameworks means it's having set of uh rules and specifications we have to follow while developing the web applications in Python fullstack development. So what are the frameworks we are going to cover? Tjango framework, rest API framework and then flask framework. These are the frameworks.
Next the database. Yes, three compulsory the database.
So database purpose we are having the tools like SQ3 and MySQL.
Cesar SQ library is is a built-in uh database integration with Django framework. For the first time when we create Django application or Django web application Django project that project is associated with inbuilt SQLite 3 settings. So maximum operations uh with database we can do with SQLite3 and also we are going to cover MySQL because most of the cases in Python or Tjang applications in real time MySQL is preferred database it doesn't make sense using Python can't to communicate with other databases like MongoDB okay MSSQL or yes it's possible but majority of the cases in Python develop velopment as well as Django web development. MySQL is the preferred database or else SQLite is a integration. This is pre integrated already integrated with Django framework. Okay, no need to install explicitly but it's a combination actually.
But suppose net uh fullstack developer how they use MSSQL right Microsoft SQL server it's a product of Microsoft similarly Java programmer Java fullstack developer how they use like Oracle so same in Python fullstack development we prefer to use MySQL you can configure with any database it's not a problem database main purpose is what how to deal with your customer data how to store the data and manipulate or retrive something access data like that database operations we can do in this tools. So backend development need three things in the back end while working with application behind the scenes what is required Python language is required because we have to write complete logic part with Python frameworks are required we are going to design and develop our websites or web application by following this framework set of rules and specifications and database is required uh to store a customer data that is in MySQL or SQL3. So these three language, frameworks, databases are behind the scenes it works. That means we can say backend development process. See for the first time when we open any website, we are going to see on the screen, right?
What presentation layer, right?
Presentation layer means UI, user interface. But uh user interface will provide us some registration page like labels, text boxes, buttons. Okay, you are going to interact as a customer with that forms. So, but behind the scenes what's going to happen? Actions will be performed, right? So, that actions and everything will be managed these three only language and frameworks and databases. It will not appear to the customers. Customer can only see in the front end like UI only. So, in Python fullstack development so you must involved in two ways like front end and back end. So the person who can easily handle both front- end development and back end development things then that person is said to be full stack developer. Okay.
Or else the person who can handle with only front end but they don't know about language and frameworks and database management. So this is UI developer user interface or the person who is having only Python. So they cannot handle with frameworks and databases and UI. So they can only involve uh writing the logic with Python. So exclusive Python developer like this. But if you know how to manage UI programming and frameworks and database everything so you will be considered as a fullstack developer like that only. So nowadays fullstack developers are having huge demand in the market. So the better to go with fullstack development process. If you don't have uh any other course you are not looking like devs, AWS, AI and ML. As I said in the beginning session of this today, see Python only Python who needs means if you want to go with furtherly like after learning Python, Python with the data science, Python with the data analysis, Python with AI and ML. So AWS and dev apps, testing, networking, if you want to go with this side that uh all tools are required Python script then you can go with only Python. Other than that you can focus on full stack development. Full stack means one language total three frameworks Django SP flask and knowledge of UI user interface and knowledge of MySQL and SQL3. So this is about our subjects which I'm going to deal uh in our upcoming sessions. So after completion of this demo session our team will communicate uh with uh you through mail so that they'll send complete content syllabus content you can observe once what I'm going to cover. So all the subject related content and they'll also uh send the today's recording demo link also. So totally four to five demos will be there so from today onwards. So feel free to attend and regularly the demos after the demo completion only you can decide that whether you want to go with this course or not okay that's feel free to take the decision it's not a matter so because of the thing is you have to lend comfortably right so wherever you comfort you can go with that but you have to learn properly that is our main intention and every session is going to be recorded the recorded video I'll upload to your Google drive once The session is over and the sessions will be from Monday to Saturday the Sunday no session. So and each and every subject look at this your Python right first subject and then Django rest each and every subject the PDF material will be hand over it to you once your enrollment process is over. So each and every subject uh uh material I'll send to your mail. So material will be there that is PDF and recorded videos will be there like the recorded videos will be once I send or shared the folder that is lifetime access like Python related videos and Django related videos every subject clear videos are there. Okay. So let's see this material you will be able to get like that is core python basic python advanced python and django flask rest api in the django folder only the UI basics and database things will be there in this folder only so totals each and every subject pdf will be sent along with recorded video here only okay so this is which I covered basic things today python fullstack development what is python and Django, rest API, flask and UI and escalate the just basic information I have uh given today. Now what from tomorrow onwards what is our action plan means I'll focus completely on Python only sir for first 45 days to 50 working days. So my focus is completely on Python. The reason is why you know I said already without having knowledge of uh Python then you can't able to starts with Django right so that's the reason whether you are looking for fullstack development course or only for Python course no matter for all of them I'll start from tomorrow onwards only Python language once we complete Python within the 45 working days to 50 working days then after will starts with John. So at that time after 45 days to 50 days you will be good at Python for sure. No doubt at all you can handle the things which are in Python. So easily we can understand the things. Okay. So that yeah course fee and particulars and everything our team will send to you uh through mail. Okay. This is not uh right platform to disclose the details. So no don't worry. So our team will assist you regarding this. Okay. So they'll send the mail. So in that the complete particulars will be there or else you can feel free to contact duras so that they can assist you regarding this clearly.
So first you have to focus uh to attend the demos. After demos you can decide it no problem. Okay that's my uh what we can say suggestion. Don't look at that everything. First try to attend the demo sessions next three to four sessions so that you will get clarity how I'm delivering the content and all so that if you based on if your comfortability you have to choose the right instructor then it will be good for your career right so just focus on that that's it rest of the things will take care of no problem but one thing I can say from my end as a uh trainer from Duraoft so if you enroll for this course at the end of the day uh you will never disappoint that much guarantee we will give. So other than this you have to be focused and uh be practical.
Okay. So regular attendance is required.
So regular classes will leads to your knowledge more skills you can improve that. So instead of uh uh uh skipping the sessions. So regular attendance is important. If you attend the classes that the concepts will be clear and you will be uh your flow will be good in the learning process right so that's what and you have to learn properly this Python fullstack development courses like orderly so some students ask me can't we directly join Django sessions no without having python knowledge so Django sessions are not possible because once we start framework development like jungle stap flask every time I'm going to write python script only so you cannot understand python script right before going to uh without having python knowledge with the django so python is mandatory here so in fullstack development of python wherever you write some logic that is python related only you must have the knowledge of python first after that you can go with remaining frameworks and all and most important thing I forgot to tell you once In the Django ending after completion of Django we I'm going to deal with two to three projects like real time experience real time hands-on project I'm going to deal with you. So these projects we can include in your resume also as a fresher candidate so that we have you can disclose your skills. Okay. So we have implemented this type of projects in your resume also you can include those projects clearly. So project development and realtime exposure you will get with this course. Okay. Yes.
Yes. Yes. Tomorrow demo or the topics will be different because it's a continuation process. Today what I explained just our our agenda I explained right in the full stack development what subject and each subject purpose and course details and time duration. But tomorrow from here onwards we'll continue. So tomorrow I will focus completely on Python only. So what is Python? Why don't other languages and uh where do we use Python exactly? And what are the versions?
Which version is required to install and download? What is the official website of Python? These are all details will be covered in tomorrow session. And next we'll start coding part also slowly which uh by including some editors.
Okay. So many editor tools are there software editors to deal with Python fullstack. Which editor is the best editor for Python fullstack development also? I'll disclose from then onwards.
I'll continue with that editor only.
Yes, for sure.
Yes. Throughout the course 7:00 a.m.
only because there is no chance to move this session uh before or after because I have already sessions engaged my batches are engaged with that time. So 7 to 8 only fixed time undoubtedly no no changes 7 to 8 daily 1 hour session Monday to Saturday regular sessions and Sunday will be the holiday every day after session recorded video will be uploaded in the saved folder okay so every day you have to check in that folder in Google drive so recorded video will be there with the clear number Python 1 2 3 orderly how to watch it along with complete material I'll send once you enrolled Enrollment process is over. Core Python PDF, advanced Python PDF with interview questions folder and then we will maintain some WhatsApp group. Once your enrollment uh over then you are the part of WhatsApp group. If you have any questions and doubts you can feel free to post in that group. We will assist you regarding that.
So this is about complete details and now it's uh your turn to ask any questions. If you have any uh doubts about these sessions feel free to ask me so that I'm ready to give answer.
Yes. Yes. After yeah it's a part of uh core python only.
No. So yes yes web scrapping and everything will be there. So that is part of you can check the course content so that it will be clear.
So yeah moan uh webcapping means uh uh actually we have a project uh uh going to come. So we have to get the data from uh different applications by using Python. So is it covered in Python or Django?
>> Python only. Python only. There is a concept called web scrapping. Some tools are there uh request and uh request libraries will be there even Django also we can use and Python also we can use just grab the data and keep the data in required format right >> yeah yes yes >> yeah yeah that's that will cover sir no doubt at all >> okay thanks >> yeah one thing to ask you sir uh like is there any doubt session separately happening after the class or it happens during in the class.
>> No, during the class you can uh see when I explain the concept and while writing the script here and if you have any questions meanwhile you can raise the uh voice or raise the message in the chat box so that uh I'll quickly answer that in the during the session only or else at the end of the session also I'll ask any doubts after ending the session I'll wait in the meeting 10 minutes of time so that you can feel free to uh speak with me or else we have a group right so at any point of time even in the during the entire the day so if you have any question while practicing you can feel free to post the question over there we're ready to give answer with proper screenshots and all you can also share that no problem as long as the course is uh uh going so the our assistant will be there even after completion of core also any requirement is there so we'll help you regarding that undoubtedly because we have a lot of group group of students are there in that group. So anybody can react at any time.
>> Got you sir. Thank you.
>> Any software need to install?
>> Obviously Python software first you have to install then after that some editors are required. So you will come to know mostly tomorrow after tomorrow. So we'll go through orderly. So uh editor tools are compulsor required to write some script.
So whenever we install for the first time Python so default editor will be there like ideally so integrated development learning environment but you can go through it or else you can go with separate editors like VS code Visual Studio Code or PyCharm editor.
I'll assist you don't go with Visual Studio. We'll go with completely PyCharm editor only in our Python development.
So very simple software, lightweight software. It is it it takes just 2 3 minutes of time to set up complete Python. It's not a big deal.
So that's all from my side today. Thanks for attending this session and uh just feel free to continue the demo sessions for next 3 to 4. You can use the same link at same times morning 7:00 a.m. So after demos you can decide that. Okay.
So have a nice time. See you tomorrow at 7:00 a.m. join with the same link.
>> Thank you. Thank you. Bye.
Yes, let's start today's session.
So this is your first session of Python fullstack web development.
Okay. So this is Python fullstack development session.
So first of all in today lecture I'm going to discuss in Python fullstack development what subjects are going to be covered. Okay. So I'll explain you clearly each and every subject purpose.
Okay. Then you will get clarity.
So what things are there in Python fullstack development. Right. Yeah. So first of all in Python fullstack development or if you want to become a Python fullstack developer you must and should learn one language. Okay that is our main core language. So that language name is Python. So this is the main subject. Okay Python first language.
Next, some frameworks are there in Python fullstack development especially uh to develop web applications or websites. Okay. Some frameworks are there. The frameworks are nothing but like Django framework, REST API framework, Flask framework. These are the frameworks.
Along with these frameworks, you must and should aware of UI basics means user interfaces like HTML plus CSS plus JavaScript and then jQuery and then Bootstrap.
Okay. Then along with UI designing or UI basics. So you must and should aware database knowledge. So in full stack development we are going to cover SQL library and mySQL.
These are the database tools.
So observe carefully. These are the main subjects which I'm going to cover in full stack development. Okay. one language that is Python and total three frameworks Django, rest, flask.
These are web application development frameworks. In the web application development process, you must aware the UI design like how to prepare the web pages or websites design wise. Design purpose we need to learn UI basics.
Okay. and database management also required right in the web development process compulsory we need to handle with our data so that data base management purpose we need to learn database tools like SQLite 3 and MySQL so total these six subjects I'm going to cover in Python fullstack development so if you enroll for this Python fullstack development the course duration is 4 months Yes, it will take totally 4 months to complete all these sub six subjects that is a part of Python fullstack development.
For suppose if you enroll only for Python that means some students are looking for only Python programming language according to their requirement it's enough Python basic Python that is core Python advanced Python both are there in Python language only Python if you enroll so it takes the duration is 45 working days to 50 working days okay that means up to 2 months I can say that only Python up to 2 months like 45 working days to 50 working days and full stack development of Python that means total three frameworks one programming language UI basics and SQLite and MySQL for this it will take 4 months duration okay so depends on your requirement you can choose anyone so I can give you some clarity about this who should go with only Python language and who should go with complete Python fullstack develop velment. Suppose your requirement is after learning Python if you want to move towards data science or data analysis or MIL machine learning or AI in this area. If you are planning to go with this area like data science, data analysis, AI and ML even AWS, Dev apps. So after learning Python if you are moving towards these courses then better to go with only Python core in advance.
So no need to learn Django SPI class QI and all okay but some students are looking for purely Python if they don't have any plan to move towards data science or AL ML ML AI and uh dev apps AWS like this. So if you want to become complete fullstack developer of Python so better to go with all these subjects fullstack development. So this is just I'm giving clarity then you can decide which you want. Okay. Yes. Now let's talk about each and every subject purpose actually. So I'm saying in fullstack development you are going to learn these all six subjects right. So each subject purpose you must aware that. So first subject is python. So what is Python here? Okay. Yeah. First we'll talk about Python later I'm giving just brief introduction each and every subject. So that what is the purpose of subject you must know that. So after that we'll begin with Python only because Python is mandatory before going to learn anything in full stack development like Django rest AP flask other things. So first 45 days to 50 days we have to focus on only Python. So first Python is Python is a programming language.
Yes, Python is a programming language.
Generally any programming language if you take which is used to develop coding part coding part for the applications.
Yes, Python is a programming language which is used to develop coding part or which is used to write coding part for the application development.
So if you want to develop the applications you must write some logic or coding right that coding we can write using what language? Python language. So that's what we can say it is a programming language. So programming part is important and logic part is important for developing any application.
Okay, this is the language actually. So throughout entire fullstack development wherever you write some logic or wherever you write some coding part that coding part going to be written in python language through so that's what you must aware python compulsory before going to start writing code in any framework like django estab and all so this is our main core language what we are going to learn first initial 12 days of Python fullstack development course. Okay. So once you know about Python, once you are good at Python.
Okay. So then it's easy to develop any applications by using these frameworks.
So next subject is what? Django. What is Django here? So Django is not a programming language. Then what it is?
So you can say Django is a framework.
Yes, Django is a framework which is used to develop the web applications.
So if you want to develop web applications then we use Django framework in Python fullstack development. So it's not a programming language, it is a framework. Okay. What is framework generally? Yes. framework is nothing but it's a collection of built-in class libraries.
Built-in class library means each class library contains some built-in classes like predefined classes and each predefined class is having built-in functionality that means already pre-written or developed code which is directly available to use in our applications.
So the moment when we install Django framework so it offers lot of libraries especially which are required to develop web applications. Those libraries can be used to develop web applications at faster rate. That means if they have built-in libraries or predefined libraries using that built-in libraries we can quickly develop the web applications.
Right? We don't need to waste the time because from the scratch we need not to write any logic only uh we can use the libraries which are provided by Django.
So it's a framework. Framework means it's having set of rules and specifications.
Okay. It's having sort lot of libraries.
By following that rules and specifications we have to develop some applications. So Django is not a programming language. Django is a framework which is used to develop web applications. Web application means what?
Please mute your audio. Yeah. Web application means what? The application which will provide services over the web is called web application. Right? The application which will provide which will provide the services services over the web is called web applications.
Simply application which will provide the services over the web is called web application. Okay fine. But I'm saying that Django is a framework and Django is a Python based framework. Django is Python based web development framework.
It's completely Python based web development framework.
So that means Django framework completely written in Python language only. Okay. Pjango framework written in written in Python language.
So ultimately I can say to start learning of Django especially to develop web applications first of all you must have the knowledge of Python.
So Django prerequisite subject is Python. If you know the Python knowledge then easily we can implement web applications using Django framework.
Why Django need Python means? Because Django is completely written in Python language only. How they developed Django framework by writing Python script. So that's the reason we can say Django is a Python based web development framework.
It's completely Python frameworks and Django can understand the instructions from Python only. So you can't send any instructions from different language like Java or C language. So Python instructions only can understand by Django. So it is easy to implement web applications by writing code in Python language. So to learn Django, Python is mandatory. To learn Python nothing is mandatory because Python is a basic programming language. To learn this basic language no any basic language is required like C, C++ not at all because itself Python itself it is a basic language right? You can learn from scratch. Okay. And also you will get the knowledge in the basic level and intermediate level and advanced level once you complete your Python course here. So I'll teach from the scratch. No need to worry. So if some students feel that I don't have any programming knowledge then is that possible to learn Python? Undoubtedly it's possible to learn Python. Python no prerequisite languages. Okay. Directly you can start learn with Python only and Django before going to Django you must have the Python knowledge. Okay otherwise you can't. So this is about Django subject purpose.
Okay, it is purpose is what? To develop web applications.
What type of framework it is? Python framework. Why it is Python framework?
Because it written in completely Python language. Right. But next I'm going to discuss about third subject which is also very very important in real time that is rest API.
This is our third subject which I'm going to cover in our fullstack development course. REST API. See sir whatever the order I have written here same order I'm going to cover all these subjects but except UI and SQite because these two under comes into Django rest api and flask with this frameworks only in the middle so let's talk about rest api sir we know uh how to develop django web application by using python we are ready with web application right then why rest api again yes it's very important in real time. What is the rest API purpose? I'll tell you that. So here first of all rest AP is one of the framework. Let's talk about this. Rest API is a framework. It is also completely Python based framework. Rest API is a framework.
Purpose of the rest AP is which is used to develop which is used to develop the APIs APIs for web applications.
APIs for web application in REST API.
In rest API rest means rest means representational state transfer in rest API. Okay. In rest API API means rest means what? REST means representational state transfer.
in rest API.
API means application application programming interface. Application programming interface.
So rest means representational state transfer. APA means application programming interface. REST is an architecture or design pattern. simple the APIs which is going to design based on rest architecture is called rest API so what is the use of API sir because I'm saying that rest API is used to develop APIs application programming interface for web applications so why rest API means actually API is a software tool API is a software tool which enables which enable the web application which enable the web application to communicate to communicate with other applications to communicate with other application.
Yes, this is very important in real time, right? For example, you are having you are you are going to deal with many web applications in real time. For example, uh consider a flipcard.com website is there. In the flipcart.com website, what we can do? Generally, we can select the product and we can click on buy. Now, after that, the Flipkart website can communicate with the banking application for making payments. Right here, what's going to happen for doing transaction over the Flipkart website?
So the Flipkart web application should communicate with banking web application. Right? Here two applications are communicating or talking with each other by sending request and response for making transaction successful. So that communication who is going to provide means exactly API application programming interface here two or more application can communicate with each other that purpose API software is required. It's a software tool we have to design for our web application. Yes, Python with Django. We are going to develop web applications once our web application is ready and to provide more services for the customers.
Uh our web application need to be interact with other application for making transactions. So for that we need to generate API as a web developer responsibility. So API generate purpose we need to use another framework called test API. So the API is a software tool which enables the web application to communicate with other application. It's mandatory and the API which is used to generate or design by using an architecture called rest architecture is called rest API. In any fullstack development, not only here Python fullstack development, even in Java fullstack development, net fullstack development, APIs are very common. Here we are using a name of subject like rest API. Java people they use restful APIs, net people they use web API. So simple. So this is another subject we are going to learn a REST API for generating APIs for web applications.
And when we should learn rest API after completion of Django only. So to learn rest API what are the prerequisite subject you know Django and as well as Python both are required.
How I said to learn Django Python is mandatory before going to uh starts with Django means Python is mandator. So to learn rest API what is required? Django as well as Python both are required because even though we are using rest architecture to generate APIs complete logic part we are going to write using Python language only. So Python is mandatory everywhere we are going to use in fullstack development. Wherever you write logic part that logic part should be written in Python only sir. So rest AP need two prerequisite subjects like Django and Python. Next other framework is that this is flask. So it is a completely different framework here. So it is also Python based framework. So to learn flask Django is not at all required. Rest API not required directly you can start learn flask with only Python knowledge. So Python is enough to learn flask. What is flask framework? It is so flask is a framework.
Lask is a framework which is Lask is a framework which is used to develop a single page web applications. Yes, single page web applications.
So as I said Django is a framework which is used to develop web applications. But what is the difference between flask and django means django we can develop medium scale and maximum scale applications. Okay. But using flask we can't develop medium scale and maximum scale applications. Mostly using flask we can develop what you know uh single page web applications only. Single page web application means like dashboard applications or micros service programming purpose we use flask. Flask is a framework which is used to develop single page web application and flask is a Python based micro framework.
Flask is a Python based micro framework.
micro framework which can be used to write microservices programming.
Microservices programming also.
So this is flask to learn flask only Python is required not uh anything required. So it's a small flask framework. So instant uh uh service usage purpose we can write flask script and it can be helped to develop applications clearly. So in our syllabus flask is also one of the framework which is going to be deal a small scale application development. This is also used to design web applications. Okay.
Right. So total three frameworks are there. One is the flask framework and rest api and then django. three frameworks and one language programming language and strictly remember that these three framework especially Django rest API flask frameworks are completely written in Python so Python based frameworks so if you write Django rest API flask logics that should be in a form of Python only so that's what Python is mandatory language to learn these frameworks okay fine so Let's talk about UI and SQLite in what context we use this. But before going to talk about this, let's discuss in Python fullstack development especially, we need to focus on front- end development and backend development.
Front end and back end. Yes. So in front end development what things under comes like for example here front end means first time when we open any web page or website. So what we are going to see on the screen that is called front end right front end development. So the front- end development purpose we need to focus completely on UI.
So this is UI.
UI means user interfaces. UI means what?
user interface. So user interface means what we are going to present like uh login form, registration page, change password form. This type of UI design we need to represent to the customers.
Right? So that's is UI basics. It is only for designing which is under comes into front- end development. So in the UI basics I'm going to cover HTML first to create a web pages and do you want to add some styling to the web pages CSS cascading style sets and then if you want to make some functionality like validations purpose we need to use JavaScript. So HTML CSS JavaScript are the basic UI technologies it's mandatory for every web development process. When it comes to jQuery, Bootstrap, jQuery is the extension of JavaScript. It is an addition other framework.
So, Bootstrap is the combination of CSS and JavaScript. So, mostly we will prefer to use Bootstrap for bringing look and feel uh better when compared to normal plain HTML and CSS styling because nowadays Bootstrap will play the major role in web development design. So it's bring look and feel more for our web application or for our UI user interface. Okay, this is the main. So ReactJS will not be included here. It's not required because what we are going to do ReactJS we are going to do with the Django itself only. That's what we it is not part of our curriculum.
So bootstrap, jQuery, all these basics will be covered in Django time only at the time of Django development.
Okay. So we'll be covered that all UI because you have to deal with the complete front- end development like UI design everything is there. So this is the part of front end and back end is having three subcomponents. Okay. Back end is having three subcomponents actually. So what are that in the backend development? What are the required? First thing is the programming language. It's compulsory in the backend programming language. That means logic must and should be right. Right? The programming language what is that?
Python.
Next the frameworks. Yes in the backend development compulsory frameworks also required. So frameworks means it's having set of uh rules and specifications we have to follow while developing the web applications in Python fullstack development. So what are the frameworks we are going to cover? Tjango framework, rest API framework and then flask framework.
These are the frameworks. Next the database. Yes, three compulsory the database.
So database purpose we are having the tools like SQ3 and MySQL.
See SQ3 is is a built-in uh database integration with Django framework. For the first time when we create Django application or Django web application, Django project that project is associated with inbuilt SQLite 3 settings. So maximum operations uh with the database we can do with SQLite3 and also we are going to cover MySQL because most of the cases in Python or Tjang applications in real time MySQL is preferred database. It doesn't make sense using Python can't to be communicate with other databases like MongoDB. Okay. MSSQL, Oracle. Yes, it's possible. But majority of the cases in Python development as well as Django web development, MySQL is the preferred database. Or else SQLite is a integration. This is pre integrated already integrated with Django framework. Okay. No need to install explicitly.
But it's a combination actually.
But suppose net uh fullstack developer how they use MSSQL right Microsoft SQL server it's a product of Microsoft similarly Java programmer Java fullstack developer how they use like Oracle so same in Python fullstack development we prefer to use MySQL you can configure with any database it's not a problem database main purpose is what how to deal with your customer data how to store the data and manipulate or retrive something access data like that database operations we can do in this tools. So backend development need three things in the back end while working with application behind the scenes what is required Python language is required because we have to write complete logic part with Python frameworks are required we are going to design and develop our websites or web application by following this framework set of rules and specifications and database is required uh to store a customer data that is in MySQL or SQL3. So these three language, frameworks, databases are behind the scenes it works. That means we can say backend development process. See for the first time when we open any website, we are going to see on the screen, right?
What presentation layer, right?
Presentation layer means UI, user interface. But uh user interface will provide us some registration page like labels, text boxes, buttons. Okay, you are going to interact as a customer with that forms. So, but behind the scenes what's going to happen? Actions will be performed, right? So, that actions and everything will be managed these three only language and frameworks and databases. It will not appear to the customers. Customer can only see in the front end like UI only. So, in Python fullstack development, so you must involved in two ways like front end and back end. So the person who can easily handle both front- end development and back end development things then that person is set to be full stack developer. Okay. Or else the person who can handle with only front end but they don't know about language and frameworks and database management. So this is UI developer user interface or the person who is having only Python. So they cannot handle with frameworks and databases and UI. So they can only involved uh writing the logic with Python. So exclusive Python developer like this. But if you know how to manage UI programming and frameworks and database everything so you will be considered as a a fullstack developer like that only.
So nowadays fullstack developers are having huge demand in the market. So the better to go with fullstack development process. If you don't have uh any other course you are not looking like devs, AWS, AI and ML. As I said in the beginning session of this today, see Python only Python who needs means if you want to go with furtherly like after learning Python, Python with the data science, Python with the data analysis, Python with AI and ML. So AWS and Devs, testing, networking, if you want to go with this side that all tools are required Python script, then you can go with only Python. Other than that you can focus on full stack development.
Full stack means one language total three frameworks Django SP flask and knowledge of UI user interface and knowledge of MySQL and SQL3. So this is about our subjects which I'm going to deal uh in our upcoming sessions. So after completion of this demo session our team will communicate uh with uh you through mail so that they'll send complete content syllabus content you can observe once what I'm going to cover. So all the subject related content and they'll also uh send the today's recording demo link also. So totally four to five demos will be there so from today onwards. So feel free to attend and regularly the demos after the demo completion only you can decide that whether you want to go with this course or not okay that's feel free to take the decision it's not a matter so because of the thing is you have to learn comfortably right so wherever you comfort you can go with that but you have to learn properly that is our main intention and every session is going to be recorded the recorded video I'll upload to your Google drive once Once the session is over and the sessions will be from Monday to Saturday the Sunday no session. So and each and every subject look at this your Python right first subject and then Django rest each and every subject the PDF material will be hand over it to you once your enrollment process is over. So each and every subject uh uh material I'll send to your mail. So material will be there that is PDF and recorded videos will be there like that recorded videos will be once I send or shared the folder that is lifetime access like Python related videos and Django related videos every subject clear videos are there okay so let's see this material you will be able to get like that is core python basic python advanced python and django flask rest API in the Django folder only the UI basics and database things will be there in this folder only. So totals each and every subject PDF will be sent along with recorded video here only.
Okay. So this is which I covered basic things today. Python fullstack development what is Python and Django rest API flask and UI and escalator just basic information I have uh given today.
Now what from tomorrow onwards what is our action plan means I'll focus completely on Python only sir for first 45 days to 50 working days. So my focus is completely on Python. The reason is why you know I said already without having knowledge of uh Python then you can't able to starts with Django right so that's the reason whether you are looking for fullstack development course or only for Python course no matter for all of them I'll start from tomorrow onwards only Python language once we complete Python within the 45 working days to 50 working days then after will starts with jungle. So at that time after 45 days to 50 days you will be good at Python for sure. No doubt at all you can handle the things which are in Python. So easily we can understand the things. Okay. So that yeah course fee and particulars and everything our team will send to you uh through mail. Okay. This is not uh right platform to disclose the details. So no don't worry. So our team will assist you regarding this. Okay. So they'll send the mail. So in that the complete particulars will be there or else you can feel free to contact duras so that they can assist you regarding this clearly.
So first you have to focus uh to attend the demos. After demos you can decide it no problem. Okay that's my uh what we can say suggestion. Don't look at that everything. First try to attend the demo sessions next three to four sessions so that you will get clarity how I'm delivering the content and all so that if you based on if your comfortability you have to choose the right instructor then it will be good for your career right so just focus on that that's it rest of the things will take care of no problem but one thing I can say from my end as a uh trainer from DASoft so if you enroll for this course at the end of the day uh you will never disappoint that much guarantee we will give. So other than this you have to be focused and uh be practical.
Okay. So regular attendance is required.
So regular classes will leads to your knowledge more skills you can improve that. So instead of uh uh uh skipping the sessions. So regular attendance is important. If you attend the classes that the concepts will be clear and you will be uh your flow will be good in the learning process right so that's what and you have to learn properly this Python fullstack development courses like orderly so some students ask me can't we directly join Django sessions no without having python knowledge so Django sessions are not possible because once we start framework development like jungle, stap flask every time I'm going to write python script only. So you cannot understand python script right before going to uh without having python knowledge with the django. So python is mandatory here. So in fullstack development of Python wherever you write some logic that is Python related only you must have the knowledge of Python first after that you can go with remaining frameworks and all and most important thing I forgot to tell you once in the Django ending after completion of Django we I'm going to deal with two to three projects like realtime experience real time hands-on project I'm going to deal with you. So these projects we can include in your resume also as a fresher candidate so that we have you can disclose your skills. Okay. So we have implemented this type of projects in your resume also you can include those projects clearly. So project development and realtime exposure you will get with this course. Okay. Yes.
Yes. Yes. Tomorrow demo the topics will be different because it's a continuation process. Today what I explained just our our agenda I explained right in the full stack development what subject and each subject purpose and course details and time duration but tomorrow from here onwards we'll continue. So tomorrow I will focus completely on Python only. So what is Python? Why don't other languages and uh where do we use Python exactly and what are the versions which version is required to install and download what is the official website of Python these are all details will be covered in tomorrow's session and next we'll start coding part also slowly which uh by including some editors okay so many editor tools are there software editors to deal with Python fullstack which editor is the best editor for Python fullstack development also I'll disclose from then onwards I'll continue with that editor only.
Yes, for sure.
Yes, throughout the course 7:00 a.m.
only because there is no chance to move this session uh before or after because I have already sessions engaged my batches are engaged with that time. So 7 to 8 only fixed time undoubtedly no no changes 7 to 8 daily 1 hour session Monday to Saturday regular sessions and Sunday will be the holiday every day after session recorded video will be uploaded in the saved folder. Okay. So every day you have to check in that folder in Google drive. So recorded video will be there with the clear number Python 1 2 3 orderly how to watch it along with complete material I'll send once your enrollment process is over core Python PDF advanced Python PDF with interview questions folder and then we will maintain some WhatsApp group once your enrollment uh over then you are the part of WhatsApp group if you have any questions and doubts you can feel free to post in that group we will assist you regarding that.
So this is about complete details and now it's uh your turn to ask any questions. If you have any uh doubts about these sessions feel free to ask me so that I'm ready to give answer.
Yes. Yes. After yeah it's a part of uh core python only.
No. So yes yes web scrapping and everything will be there. So that is part of you can check the course content so that it will be clear.
So yeah moan uh web scapping means uh uh actually we have a project uh uh going to come. So we have to get the data from uh different applications by using Python. So is it covered in Python or Django?
>> Python only. Python only. There is a concept called web scrapping. Some tools are there uh request and uh request libraries will be there. Even Django also we can use and Python also we can use just grab the data and keep the data in required format right?
>> Yeah. Yes. Yes. Yes.
>> Yeah. Yeah. That's that will cover sir.
No doubt at all.
>> Okay. Thanks.
>> Yeah. One thing to ask you sir uh like is there any doubt session separately happening after the class or it happens during the class? those during the class you can uh see when I explain the concept and while writing the script here and if you have any questions meanwhile you can raise the uh voice or raise the message in the chat box so that uh I'll quickly answer that in the during the session only or else at the end of the session also I'll ask any doubts after ending the session I'll wait in the meeting 10 minutes of time so that you can feel free to uh speak with me or else we have a group right So at any point of time even in the during the entire the day. So if you have any question while practicing you can feel free to post the question over there.
We're ready to give answer with proper screenshots and all you can also share that no problem.
As long as the course is uh uh going so the our assistant will be there even after completion of core also any requirement is there. So we'll help you regarding that undoubtedly because we have a lot of group group of students are there in that group. So anybody can react at any time.
>> Got you sir. Thank you.
>> Any software need to install?
>> Obviously Python software first you have to install then after that some editors are required. So you will come to know mostly tomorrow at after tomorrow. So we'll go through orderly. So uh editor tools are compulsor required to write some script.
So whenever we install for the first time Python so default editor will be there like ideally so integrated development learning environment but you can go through it or else you can go with separate editors like VS code, Visual Studio Code or PyCharm editor.
I'll suggest you don't go with Visual Studio. We'll go with completely Pychometer only in our Python development.
So very simple software, lightweight software. It will it it takes just 2 3 minutes of time to set up complete Python. It's not a big deal.
So that's all from my side today. Thanks for attending this session and uh just feel free to continue the demo sessions for next 3 to 4. You can use the same link at same times morning 7:00 a.m. So after demos you can decide that. Okay.
So have a nice time. See you tomorrow at 7:00 a.m. join with the same link.
>> Thank you. Thank you. Bye.
Right, let's begin today's session.
So this is your uh second demo lecture of Python full stack development. Okay.
So yesterday only we started this batch and uh yesterday we discussed very basic things. again I'll try to show you uh what I discussed in the last lecture so that you will get clarity from here onwards we'll start now so in the last lecture okay that means in the last demo we discuss only this observe here this is Python fullstack development course right so in this course totally you are going to learn six subjects one is Python next one is Django So, and next REST API and then Flask and UI basics like HTML, CSS, JavaScript, jQuery, Bootstrap and then SQLite 3 and MySQL database tools. Total six subjects we are going to learn.
So in this only one language that is programming language Python. So let's quickly complete what I discussed in the last lecture. So that continuation will be there. So first Python language and remember that to learn remaining subjects in Python fullstack development first of all you should learn Python because it's our main language core language without having knowledge of Python you can't move towards Django rest API and flask other subjects so our main focus is on Python only as I said in the last lecture Python only it will take 45 to 50 working days okay after completion of Python then we'll start Django rest API and other frameworks so let's talk about Python as I said Python is a programming language right so which is used to write coding part for the application development in entire Python fullstack development any application if you develop complete logic code we are going to write using a language called Python only. So that's what you must have the strong knowledge on Python first that's what we are focusing Python only from now onwards for 45 days to 50 days then once you complete uh Python or once you good at Python coding then you can start uh development of web application using Django framework. This is our next subject. So already I explained about Django what is what in the last lecture I'll I am trying to explain again just for new students who joined today. So Django is a framework it is not a programming language which is used to develop the web applications. So it's a framework it's not a language. So Django framework through we can develop what applications web applications. So web application meaning is what the application which will provide the services over the web is called web applications.
Whatever the service over the web we are providing that is web application services. For example, Flipkart, Amazon, online SPI. These are the web applications examples.
And if you want to develop web applications in D uh Python fullstack, you must use a framework called Django framework. And Django is a Python based web development framework because Django framework completely written in which language? Python language. So that's the reason to learn Django. Python is the prerequisite subject. Yes, it must. So without having Python knowledge you can't continue with Django, right? But to learn Python no prerequisite subject.
So to starts with Python programming is there any basic knowledge is required like C language C++ means undoubtedly not required because Python is a basic language you can start from Python directly no knowledge is required priorly and there is one more framework we are going to discuss like rest API.
So rest API is also a framework and not language which is used to develop APIs for web applications. So in rest API rest means what? Representational state transfer and API means application programming interface.
So the API concept is very important in real time. Who really focused to develop web application through that applications?
What services do you want to provide to your customers? So that services purpose compulsory API is required.
So API is a software tool which enables the web application to communicate with other application. So the examples are for example you are interacting with the Swiggy app. The Swiggy app what purpose we use generally to order the food.
After selecting the food items and we need to do the payment. So for making the payment your Swiggy application should communicate with banking application and banking application should communicate with Swiggy application for making response. But in between request and response who is there as a mediator service means API tool. So API software tool act as a med middleman service or mediator service taking the request from concern app and that request can be sent to the banking app and again the banking app will give the response to the API. The API will give response to the concern app. So this is application to application communication is very quite common in real time. So even though after implementing Django web applications do you want to provide services through your web applications for every web application is required some API how to generate API means by using rest API subject. Okay, rest is architectural pattern or design pattern. Using this pattern, whatever the APIs we are creating that is called rest API. And there is another framework also there in Python fullstack. Flask. Flask is a framework again which is completely written in Python language. So Python framework it is. So flask learning purpose Python is prerequisite.
So flask framework is used to develop single page web applications. Flask is a python based micro framework which can be used to write microservices programming in generally. So it's a small framework. So we can generate we can develop small scale applications. So medium scale and large scale application development purpose we have Django framework. And so far whatever I explained like Python language three frameworks about Django, rest API, flask these are all under comes into backend development because in fullstack development two things will be involved two main components front end component and backend component. The back end is programming language Python and the framework is uh Django SPF flask and the database is SQLite and MySQLite.
So these are the database tools which we are going to use in our Python fullstack development. So one language frameworks and database these three are the parts of backend application development. But what will be the front- end application development means front- end application development means completely UI basics.
So user interfaces these are so user has to interact with the pages right. So like HTML, CSS, JavaScript, jQuery, Bootstrap, these are all user interfaces technologies. So this is front-end development process. So in the Django time, okay, once we complete Python within 45 days to 50 working days. So once we begin Django at that time, we will also include front- end UI technologies and SQL related topics also will be there in fullstack development.
So this is what I explained in the last demo lecture yesterday which was happen.
Okay. So I hope you got clarity even news joinies today work. Okay. So now here onwards my focus is on Python only.
So without having Python knowledge.
Okay. And I forgot to tell you one thing for new Chinese today only Python core and advanc course duration is 45 working days to 50 working days. That means up to 2 months and if you are looking for full stack along with frameworks and uh UI basics, database basics and with Python. So full stack development course duration is 4 months minimum. Okay. So this is and every day recorded video will be upload to your Google drive along with complete each and every subject PDF material. So let's begin with Python today because our main focus should be on Python. So after that we'll start remaining subjects orderly. So as I said that Python is a programming language right. So any programming language can be used to write coding part or logic part for the application development. But what type of language it is? Okay. So Python is a general purpose generalpurpose language. What does it mean? So that means Python was designed and developed for different different types of application development not only specific application development. Yes, Python was not designed for specific application implementation. It's designed for general application implementation like using Python we can develop web applications, gaming applications, network based applications, testing applications and moreover Python is very popular and famous for data analysis, data science and data visualization also. And uh using Python we can also develop IoT things like internet of things and AWS dev apps anywhere we can use Python script. So that's the reason Python is called as generalpurpose programming language. That meaning is what using Python we can implement any type of applications what I mentioned.
Okay. And Python is highle programming language.
Yes. It's high level programming language. What is the meaning of high level? So if you consider any programming language is high level that means all the low-level activities will take care by programming language itself. So as a programmer you need not to contribute or you need not to write any explicit logic for internal or low-level activities. Okay. For example, I'll tell you. So as a Python programmer if I write some lines of code in my program okay for example 10 to 15 lines code is ready the moment when I hit the enter uh run button automatically the code will be execute and we will get quickly a proper output in output window. So but how the output is going to be prepared okay directly will it come or will it produce or else internally some process is required obviously internally some process is required right but internal process purpose we are not going to contribute any logic we are focusing on what to do what is our requirement based on requirement we have already written the logic so that logic through we are expecting some proper output but internally so many things will be involved that purpose we are not at all writing any explicit logic. So internal activities all by default it will take care what are the internal process generally right whenever the program will begin Python interpreter will check okay Python interpreter will check all the line by line code execution and whatever the objects are required some memory memory should be allocate okay and some uh objects are required security that security measurements need to be taken takes place and also exceptions information like whenever the runtime errors are there anything cross error cross verification is there so these are all low-level activities but for this low-level activities we are not writing any logic but internally python only will take care just because of it is highle language so highle language means all the low-level activities which is necessary to run our application that will take care by python language itself only so it is highle langage language.
Okay. Next, Python is interpreted programming language.
Interpreted programming language. What is meaning of interpreted? So, let's talk about this little bit more. Now, these are the compiler based programming languages, right? As you know that already C, C++, Java and C.NET are the compiler based languages. when it comes to Python, JavaScript, TypeScript, okay, uh Cellcript, all the scripting language mostly uh interpreted language only. So this is interpreted programming languages interpreted based Python I'm saying that Python is interpreted programming language that means what C for example if I take the compiler based languages like C++ Java C#.NET If I write uh some 30 lines of code for example, okay, 30 lines of code I have written.
So whenever I start to run the program in this languages, whole program at a time will check how many number of lines I have written already. Whole program at a time will check and after checking if any compilation issues are there then it produce compilation errors.
So if there is no compilation issues then directly it will go for execution.
So that means in the compiler based languages program how much code you have written no matter entire the code will be ex will be processed at once and it will execute at once. So that is compiler based. But when it comes to interpreted based same 30 lines of code if I write in Python standard the code will check line by line. That means first line will check if it is correct then the interpreter will go to next line. If that line also correct again interpreter will go to next line. So the line by line code will process and execute in interpreted based language.
So 30 lines whole program at a time will not process in Python rather than line by line code will check because of it is interpreted language. So Python is a interpreted language. No matter how many number of lines of code you have written in your program the code will begin from the first line and it's move on next line, next line, line by line. All of a sudden for example at line number five there is an issue or error immediately Python interpreter will stop the execution and on which line error occurred that line error will display.
So this is interpretation programming Python language. So that's what we never notice while executing Python programs like number of errors how we notice generally while working with C language or C++ Java.NET. So any number of errors occurred for example 10 15 errors are there the 10 errors will display at once in the error window right so but in Python you never seen that the number of errors only one error at a time you're going to see right now currently on which line error is there that error will disclose to you that error only have to be focused because of it is interpreted language so error handling or uh Python tracing tracing means line by line code uh checking it will be easy in Python because it is interpreted language when it comes to other languages just because of compiler based whole program at a time will check and execute. So this is the difference between compiler as well as interpreter right next Python is a dynamically typed programming language dynamically typed.
So again when it comes to these languages these are all statically typed. What is statically typed? I'll tell you that. And when it comes to Python I'm saying that it is dynamically typed.
Dynamically typed language. So the languages which are already compiler based these are statically typed languages. Then Python is dynamically typed. It is one of the important feature in Python. Dynamically typed means. So what is the dynamically typed?
Let's talk about that. Generally, if you take any existing languages apart from Python like C, C++, Java, C#.NET.
So, how to declare the variables? Okay.
Yeah.
Yes. That's what I'm saying Mr. Narendra. JavaScript, TypeScript, Shell script, all the scripting language mostly interpreted only. Okay. Yeah. Now if you want to uh declare any variable like any any language like C language, C++, Java, C#.NET. So this is what syntax we follow, right? So the syntax to declare the variable is data type variable name equals to value. This is common declaration.
For example, here data type is integer and then variable name is a equals to 100 is the value. So this is very common syntax which we follow in these languages because of these are statically typed. Let me give clarity about statically and dynamically means what? Statically means during the program writing time.
Dynamically means during the program execution time. So note this point.
Statically means during the program writing time and dynamically means during the program execution time. So these languages are statically typed that means during the program writing time only you must declare the data type of the variable what value you are assigning for suppose here I'm trying to give the string like soft.
So but you mention what type it is integer type this is wrong data type right? So obviously it is error. So in these languages programmer has to know about the data types really means programmer should have the clarity on data types what value they are assigning to the variables and what type he should mention. He must have the clarity in these languages especially while dealing with C, C++, Java, C#.NET Because these are statically typed languages and while writing the program only programmer has to decide the data type correctly. If wrong data type again it will give compilation error. But when it comes to Python, Python is a dynamically typed.
We don't have any problem in this Python language because in Python to declare data type very simple you have to mention simply variable name and equals to value. That's it.
And this is the syntax in Python.
Variable name a equals to values 100.
That's it. So we don't need to include any data type explicitly because I said Python is a dynamically typed in nature.
Dynamic means runtime during the program execution. So based on the value what we are assigning to the variable Amatically the Python will decide for the variable A is data type. So data type internally will decide by Python only. You need not to define any data type explicitly for this variable A. Okay. So this is important point to notice. So that's what priorly in Python language priorly programmer need not to know about data types. So they focus only variable name and they focus only values what values they want assigned. So this is directly we are initializing the values to the variables right it's okay this is dynamically type let's quickly show the example okay so no need to think much more about data types what type should I assign for variable only you can focus on value and variables only here this is just because of dynamically type it is one of the user friendly feature in Python which is not there in other languages because all Other existing languages are statically typed and Python is a dynamically typed. So no need to define any data type while working with variables and values. So Python interpreter only will decide the data type at the time of running the program based upon the value. Let's show you quick example. For showing the example, I'm opening default editor tool of Python that is called ideally. So this is integrated development learning environment. So you may get doubt how it comes out. Don't worry uh tomorrow session is completely uh I'll show you how to set up of Python how to download it and install it what are the editors will be there we will discuss in tomorrow don't worry that just for time being I'm trying to open ideally and the moment when I open integrated development learning environment tool this is editor tool of python so you can try to declare int a equals to 100. So obviously it is invalid syntax in Python because Python is what type of language? Dynamically typed language, right? Yes. So dynamically typed language means during the program execution data type has to be desired. But you have written directly mentioning the data type here.
So that's not correct. You will see the syntax error.
But this syntax is very quite common in any any language. So it's a valid in any language except Python. So I said that as I said that Python is a dynamic language. So based on the value data type will decide automatically internally. So you need not to mention any type so explicitly. So let's give that a value 100. This is correct syntax. If you want to print then simply you can use print a. So usage of print function is optional here. So not required only a also you can type. You are getting value like this. Either you can use print of a or you can use only a. So did I mention any data type for my variable A? No. Then how Python will decide automatically the data type for your variable A based on the value what I supplied. But for your curiosity, if you want to know what data type is assigned for variable A means there is a concept called type is a concept like built-in function.
Using this type function you will get what data type of your variable A. You can see it's showing that integer type.
For example, again I'm trying to say B is my variable name. Now this time 34.56 is a float value 3.56 and B I'm typing.
If you want to know the type of B also type function you can type. So float is assigned. So this is user friendly because we need not to focus much more on data types. So based on the value data type automatically decide by Python. This is the specialty in Python language which is not there in other language. So in other language you must should specify the proper data type priorly before going to execute your program otherwise it will give error.
But in Python just focus on variable name and what value do you want to store that's it okay it's a dynamically typed language but most important point I want to tell you just because of we are not going to decide the data type explicitly from our side it doesn't make sense Python do not have data types it's having lot of data types like integer float bool complex even it's having lot of data structures like string list, tpple and many more only. The thing is just because Python is dynamically typed language, we are not going to decide the data type explicitly from our side.
Okay. So, Python only will decide. So, it's a dynamically typed language. And then Python is finally case-sensitive programming language means the cases are very important to manage. Case sensitive programming language. What are the cases? Like if you mention any variable name like lower case or upper case. So cases are matter here. Okay. So lower case name means you have to access with lower case only. Uppercase name means you have to access with that upper case only. If you access with wrong case it will give an error.
Let's have a look into that once.
But suppose here the name equals to moan. It's my variable name is name and the moan is the value. Right? So then press enter. Let me print the name.
Okay. If I'm trying to print capital letter name, you will see that error will come because you mention your variable name name small case lower case but you are trying to access with capital N. So it is giving name error.
Look at this. The name error the name N A M E is not defined. Okay. So I have to be very particular in the cases. Lower case means lower case through only access. Uppercase means upper case through only access. So once the moment I use print name so we are getting the name here. So this is case sensitive language. So ultimately Python is a generalpurpose highlevel interpreted dynamically typed and case-sensitive programming language. So general purpose means using Python you can develop any type of applications for example web applications uh standalone or desktop applications gaming applications data science and AI ML AWS dev apps and network based application database applications all whatn not and high level means all the low-level activities will take care by default in Python so no need to contract Repeat any logic for uh highle activities like low-level activities.
Interpreted language line by line code will check and execute dynamically typed. No need to decide the data type prey during the program writing time.
During the program execution time only data type will allocate for your variables and it's a case sensitive language. Okay. Fine. Next the question is why nowadays Python is most uh preferred language to learn. Okay, most of them are looking forward Python, right? So why? What are the reasons?
Very simple reason as I said that Python is a general purpose. You can develop any sort of applications. So if you know about Python how to manage the code and all any way in any applications you need some Python script instantly we can finish our task within the simple script of Python because Python offers lot of built-in libraries that means Python is rich in library so the libraries which is provided by Python language that no other language can be provided okay to fulfill their application requirements that's what Python is a one of the popular language especially which is mainly used in data science AI and ML dev apps AWS and so on okay it's having lot of libraries so Python offers network related libraries Python offers embedded okay VLSI libraries matlab libraries. Python offer gaming libraries. Python offer web application development libraries, any libraries.
Library is nothing but what? It's a built-in code. So built-in code means already the code was developed and it is ready to use that indicates what readym made resources. So most of the cases in Python directly the code is uh available with the form of libraries. As a Python developer, you must know how to import that libraries to use in your application. Okay. So, it's having huge standard library that's what Python became a popular language, one of the most commonly used language in real time. And that too compared to other existing languages. Okay. So, compared to other existing languages, Python syntaxes are very simple and straightforward.
So normally if you write any logic in other language right like for example if you want to add two numbers. So we can write in other language how it is like so many things need to be involved class for example class name. Okay open bracket close bracket and then public static wide main string array. So this is just example I'm telling you this is in other language standards I'm writing it's not in Python and if you want to declare the variables A B C and to initialize the values like this okay to initialize the values and then C= A + B and then system.out.inten if it is Java language system.out.inten the C is I'm printing like this. So this much code need to be required if you take any language like C, C++, C#.NET or Java just for adding two numbers right.
So structure will be little bit complex you feel. But in Python this much code is not required to write uh to do adding two inputs like this. So simply you can handle with basic syntaxes like you can see I'm opening ideally back again. So to add two numbers simply you can declare the variables a value 23 b value 34 and c= a + b and simply see we are getting output clearly. So as simple as that python script is there. So no need to do much more complex syntaxes here.
So python is offering a straightforward logics no basic uh structures like syntaxes rules and regulations. It's compared to other languages. Python syntaxes are very simple and straightforward style. That's what most of the people are getting comfort while writing Python script easily they can able to manage and also survival is important right in real time once you become a Python developer. So in reality survival is very easy because it's not big deal to handle with Python script.
So but you must know about rules and regulations because Python is completely uh new features, new syntaxical rules and regulations will offer. You have to adopt it here clearly. So already if you familiar with C language or C++ Java basics you might get little confus here.
The syntaxes are completely different but not much more complex syntax. It's a straightforward syntaxes only. So no need to struggle while dealing with Python code. And Python is very famous, very popular just because it's having huge standard libraries. If you take any requirement, if you take any application requirement as I said like data science, AI, ML, all the related application libraries are there, you have to consume it or access it. But this type of convenient will not be there in other languages. Right? So once it starts with Python development of your requirements.
So easily we can fulfill and time taking process also not there here within quick span of time we can implement the applications in real time because python offer that much libraries built-in resources but if you go through other sources like C++ java carnet if you do same requirement with these little bit time taking process because that don't offer much more rel reliable libraries which your application need really so you have to implement from scratch. So that's the matter actually difference between Python and other existing languages comparable. So comparatively Python is very simple and easy to learn and implement and application development will be quickly we can implement. So it's not take much more time. Okay. Right. And once you are having Python knowledge your uh job profile means that means you can seek the job in different different aspects.
So if you go with uh once you have a uh good coding knowledge in Python, you can look forward for data science or data analytical programmer or uh uh AI developer or ML machine learning developer or else we can go through uh network programming. Yes, network programmers and embedded MATLAB and uh testing people they were used before Python. the scripting purpose they used many scripting languages other languages but nowadays many of them are migrated into Python because it offer better libraries compared to other existing languages that's way Python can be most recommend language in these days now let's talk about a basic history of Python Python was designed and developed by Udo Van Rosen. He's the man who invented Python for the first time in the year of 1989.
Python was designed and developed by Gido Vandrosam in the year of 1989. And the first version and the first version of Python released in the year of in the year of 1991. the version of Python.
So which versions are currently available? First version 0.9.0 it was not there right now. The support has been stopped. Later 1.x again for 1.x also support has been stopped. Then 2.x 3.x we are in third version.
See there are lot of sub versions are there. Okay. here I'm not writing here and uh no need to worry about all these subversions because to observe the version system of Python so I strongly recommend to visit this official website python.org og this is official website.
Okay. So if you visit this site then what are the latest versions you will come to know that and I said that these are the version zero version in the '90s 1 2 3 we are in third version right now but Python is right now even Python was designed and developed by Inali Gura Van Rosen and right now Python is maintained by PSF Python software foundation okay Python is maintained by PS Python software foundation.
Okay. So this foundation Python software foundation community has literally stopped the support for zero version and one version. They don't really recommend to use this 0 and one version from two version onwards we can use it now. So visit this official website python.org so that you will come to know what is the latest version www.python.org.
Now you say click on downloads option and you will notice 3.13.3.
This is the latest version.
So if you want to see all the remaining versions simply scroll down the window and you will look into this. These are the versions Python 312 313 39 310 3 uh 7 like this. But you you notice in this list of all the versions. Okay. So they don't included zero version as well as one version because I said Python software foundation people stop the support for zero and one version right they were recommend to use two above version they'll give future support. So any version you can use it two version three version we are in right now third version and this is the latest version Python 3.1.3.3.3 3.13.3 and Python is completely crossplatform or platform independent style that means what once you download and install Python what operating system you have no matter it works on anywhere excuse me for example Python for Windows Python for Linux, Unix, Mac OS and other operating system. And Python is completely free and opensource means you can feel free to visit this website python.org and you can see that clear documentation section also will be there. So documentation section. So documentation section means all the beginner's guide, developers guide, packs. Okay. So p index, python enhancement proposal, index rules and regulations they mention it. You can follow these rules and regulations if you want for the first time user you may not understand. Okay.
So by for reading this document if you have little bit idea already then it is easy to understand that's what here we are as a instructor or trainer to disclose the information in easy understandable manner. So I will discuss in upcoming sessions clearly what was there in Python. So each and every topic separately. Okay. So this is official website and right now versions these many versions we are in third version and every few couple of days after you can observe the official document there might be version change like today we are seeing 3.1 3.3 right but in after 10 15 days or 1 month if you look at that so it might be different version it will be appear so small minor changes will be done from Python software foundation so they can update that so No matter which version you are using, third version only I'm going to use but uh in uh tomorrow's session we will discuss mainly how to download Python software and how to install it. Okay. So that is that is going to be happen tomorrow.
Don't miss the tomorrow session. It is crucial one for everyone because yesterday whatever you missed that it's not a matter. I explained already what I discussed yesterday. That's theoretical part and tomorrow is important session is going to happen. So at least you'll understand that how to download and install and what editors I'm going to include. So you're going to see that editors are very important right because throughout learning of Python fullstack that editor through only I'm going to explain my all the topics. There are several editors are uh there to write Python script. So as for your convenient you can choose right editor but I will also disclose what is the best editor for beginners of Python. So tomorrow we'll disclose clearly this type of information. So don't miss tomorrow and other than any uh other than this any questions from your side you can feel free to ask me now. I'll help you regarding this. Okay. And uh do you have two uh three more demo sessions in front of you? Okay. This is the second demo which we completed. So feel free to attend three more demo sessions. After that you can decide whether do you want to continue with my lectures or not.
Okay. Feel free to take the decision that's not a problem.
So tomorrow onwards the basic coding concepts will be begin after launching the editor tools after installation of Python software. So slowly we'll start coding part with fundamental concepts.
So that's all from my side today. If you have any question you can feel free to ask me now. Okay. So the recorded videos every day after session I'll upload in the Google drive once your enrollment process is over the recorded video folder I'll share into Google Drive. In that shared folder everything everyday recorded video I'll upload orderly like session numbers and along with you will receive the material PDF material core Python material advanced Python Django accordingly what subject I'm going to deal right now so orderly will send it now okay yeah as I said that yesterday demonstration okay so if you enroll this course at the end of uh Python full stack or only Python you will never disappoint that much guarant I can give that you will be good uh you will become good at coding for sure okay so please feel free to continue the next three demo lectures so for continuation is the continuation will leads to the concept clearly so don't skip the session at least tomorrow is important because once you understand how to download and set up the python so it'll be easy to manage the things in further sessions right so that's what I'm asking you don't miss tomorrow at least and every session after uh see once the demo session's over we will handle the WhatsApp group the group of students will be there in that group so if you have any questions while practicing and any doubts you can feel free to post your questions with the screenshots over the WhatsApp group. So I'll assist you regarding that or else meanwhile in the class also while session is running if you have any doubts in the middle you can raise your voice or raise your message in the chat box so that I can give the answer.
Okay. Fine.
Yeah. Obviously this is the PDF which I included, right? So already yesterday I have shown that PDF documentation. So this is Python full start core Python PDF will be there. This is the basic Python PDF which I prepared from my side for students. This is complete core Python PDF only basic Python PDF with programs with clear picture each and every statement which I discuss in the class it will be there in this okay and advanced Python PDF. Advanced Python means object- oriented programming classes, methods, encapsulation, polymer, prism, constructors, destructors, so many file handling, multi-threading, lot of concepts included in advanced Python. This is only Python material, core and advanc at the same time. Django web development, it is completely web development. It's having huge content because around 300 pages will be there. Django content it is.
Okay, this is web development process completely with clear picture will be there once you observe this documentation with you and recorded videos with you then undoubtedly you will never get any confus so that much crystal clear I maintained the documentation for flask and rest tape everything it's a valuable document I can say that no doubt at all you feel same thing after completion of your course Hey, the tomorrow session to be continued. You can use the same link at same time 7 a.m. Don't miss tomorrow the installation process will happen.
Yeah.
And even our team at the end of this session our team will send a mail to you regarding that course content as well as uh the demo links also. Whoever not seen yesterday demo even though which I explained today again but you can watch the yesterday demo also if you want by clicking on the link you will be redirect to YouTube channel directly the demo videos of mine this session will be there and once your demo session's over I'll collect your mailad from dasoft then I can start share my side the video folder and material as well Okay, so that's all from my side. Have a nice time. See you tomorrow.
Right. Let's start today's session.
In the last lecture we complete introduction to Python and Python fullstack development subject related topics. Okay. So yesterday we discussed what is Python and what type of language it is and what is the difference between compiler based and interpreter based programming language and uh the history of Python and versions. We have looked into these versions, right? So today I'm going to show you how to set up Python means how to download and install Python software. So to starts with programming uh to start with Python programming then we need to install Python software right. So first of all before going to download and install Python.
So first check in your system whether Python already installed or not. So how to check in our system whether Python already installed or not means simply we can go to command prompt and there you can simply type Python - version.
So if you type this command python space - version so it will be easily to find out so whether python software already present in your system or not you will come to know that so this command we need to supply in command prompt okay so to check python is present or not to check python then go to command command prompt.
Okay, go to command prompt and type this Python - version. So let's see in my system right now Python already there.
So let me check whether it is available or not. Go to the command prompt by typing in search box command. So command prompt I'm opening in this command prompt window. So I need to check Python is present or not. Okay. So how do we check? Simply python space - version.
If I enter then I'm getting the version number 3.13.2.
That means in the previous uh batch I installed this version Python 3.13.2.
Right now in my computer Python 3.13.2 is there. So let me uninstall this Python software from my computer so that I can show you the installation and downloading procedure again. So just for you to observe the steps here. Okay. So let's uninstall right now by going to control panel. So let's go to the control panel of your system and I'm clicking on uninstall program and simply already which is available Python software in my machine. So I'm trying to uninstall it. Now you can see Python 3.1 3.2 right click and install.
Why I'm doing this means so just for showing the steps clearly uh Python steps okay installation procedure you have to know that from your side you can do now today uh this installation procedure and so that you can start your Python programming clearly so observe the steps it's not a big deal okay Python software is a lightweight and uh a small software you can easily download and install within the 2 3 minutes of time. It won't take much more time. And then to download and install Python software, no much more software configuration is required. So the basic configuration which system you are using that is enough because it's a lightweight and small software.
Right now uninstall is progress in my computer. So after that I'll start download and install Python software.
Almost done. Please give me a minute. Yes, uninstall successful. And then Python launcher also I'm trying to uninstall.
Right. Notice here uh there is no Python software present in my computer right now. just because I uninstall from the system right now. Okay. Yes.
Let's close this again. You can cross check by going to command prompt just now what we did. Same thing I'm repeating. You can observe.
So just now which I passed this command python space - version I got the version number 3.13.2. Right? So now you can see we don't have any Python software right now in the system because I have uninstalled this Python. So Python was not found. It is saying okay right. So close this that means Python is not available. And if you want to set up the Python so simply go to official website www.python.org and there is a downloads option is there. Click on it and now you can see I recommend to you to click on download Python 3.13.3 it's the latest version and if you want other versions like 3.12 310 3.9 so these are the below section these are the versions available which version you want you can download it and install depends on your requirement but let's go with this latest version and as I said that Python is completely crossplatform or platform independent which can be run on Windows, Linux, Mac OS, other operating system. So all you need to do here download Python 3.13 and simply you can see within the few seconds your download complete 3.13.exe file is there. Okay, let's close this window and go to the download folder from your computer and there you can observe here Python 3.13.3 and just double click on it to install this executable file in your system and simply double click on it. Wait for some time here. Just observe this window.
It's showing the two options install now and customize installation. So I recommend to click on install now. So which includes look at this ideally integrated learning integrated development learning environment and pip python install package and documentation all these things are there and uh before going to click on install now so don't forget to activate these two check boxes these are very important because if you activate these two check boxes that means what actually uh the environment variables will be create and it will automatically configure with the operating system which is present in your computer. So what happens are if I don't activate these checkboxes means so your operating system cannot recognize Python so path so that's what it's unable to execute your Python programs so that's the reason I recommend you to activate this checkboxes after activation of this checkboxes simply click on install now and do you want allow this app to make changes to your device yes and now setup is progress Oh it takes few minutes mostly maximum 1 or 2 minutes. It will take much more time. It won't take installation of set Python.
So now we can see it's completed almost Python installation is over. So no matter what editor you are going to use later while writing Python code you must finish this step first. The step is required like Python download and install. So if you download and install Python software like this you will get an interpreter. Interpreter is important right to execute Python programs. So that's the reason we must proceed this step first.
After that let me check again the version which is present in our computer right now. So go to command prompt again and simply type python space- version.
See here.
Okay. Before few minutes we have checked the version. It was 3.13.2 when I uninstall and install it back. So it is showing 3.13.3 right now. This is the latest version got installed. Right?
So this is the installation step for Python. And when we install this Python software, you will get a default editor that is ideally ideally. So it means integrated development learning environment.
Integrated development learning environment. This is ideally software.
Okay. So, integrated development learning environment.
So, this is the default editor actually which is present in Python installation integration.
But now it's time to show you how to write Python code and execute. So what are the options are there in front of us right now? So there are different ways to write Python code and execute. Okay.
So let's talk about that. So different ways to write Python code and execute. Yes. So what are the options are there? The option number one using interactive mode. Option number two using script mode. Option number three using Python ideally software which will come automatically when we install Python software. Ideally right this is editor to default editor using this editor also we can do this. But now I'm using PyCharm editor. This is our continuation editor.
This is the PyCharm editor. This editor through only I'll explain all the topics in my lecture upcoming sessions. PyCharm editor. This is the most popular and powerful editor for Python beginners especially.
But you must know in initial stage of learning Python you must know that what are the options to write Python program and uh after that you have to decide which uh editor is required or which editor is uh good for Python beginners and Python programs. Okay. So let's starts with interactive mode. Anyway, I'm not going to use these three options in our upcoming sessions. I'll once I launch PyCharm editor I'll continue all the lectures with this PyCharm editor only because what is the advantage if you go through PyCharm you will come to know when I start launching Pychome editor first listen I'm trying to introduce interactive mode what is interactive mode here very simple whenever you install Python software you simply go to the search and type IDL software This is ideally right. So click on it. You will be able to get one window. This window is nothing but interactive window. Notice this. This window is nothing but interactive window. So ideally integrated development learning environment. Okay.
This is the interactive window.
So why we can call it as interactive window means as a programmer you can interact with this window by typing something for example I want to type hello press enter we got the output or you can write a simple programming okay so any program so try to add these two numbers press enter you will get an output here so this is interactive window so you can continue uh with Python programs with this window.
Okay. So, do you want to proceed uh to uh write Python programs with this window? Interactive window. You can continue. Just interact with this window by typing your code and press enter.
Then you will be able to see the output result clearly. Okay. So, this is Python ID shell or interactive shell also we can call it as. But the problem is when we type this programs here you you don't get generally intelligence options right intellisense means while typing the code and some populated windows and suggestions okay alerts everything will come but here it is not available. So you have to take your own risk to type Python code uh whether it is case sensitive like small case upper case that all you need to take it from your side only. So there is no help. So it is typical to handle beginner level in this interactive window.
If you want you can continue. Next option script mode option is there. This is the script mode. Script mode in the sense what you should ready with your Python script means you can write how much code do you want and ready with the py file extension. So that py file extension is nothing but script mode. So you once you ready with your Python script with the py extension that you can run it later. Okay, I'm showing you now how to write python program using script mode option. Very simple you can open notepad editor. So do you know notepad also is one of the plain text editor. This is the notepad editor. Here I'm trying to type something like print.
Here also notice this. There is no intellisense, no graphics.
Okay, it's a plain text editor and you have to check uh spellings and all here itself. It is not showing any suggestions and all. So just I'm writing welcome to durasoft python fullstack online sessions. Just I'm trying to write this script. Yeah. So this is my Python code. But actually you must save this file with the py. Notice this. How to save this file with the py?
Simply go to file menu and save. Okay.
And choose the location where do you want to save? I'm choosing the location desktop. So now give the file name any file name like I'm giving sample. py py mandatory remember okay so py is the file name in desktop I'm saving so click on save your python script file was successfully saved sample py how much just simply I'm writing one line code only if you want you can write much more code not a problem so it's our intention is to show the different options to write python code and execute right so let's close it now so now you see there is a file created like sample.py file but actually uh the logo is depicted here PC Pycharm editor the reason is uh already uh PyCharm editor is there in my computer that's what the logo is affecting PC only in your case if you don't have PyCharm software in your computer so you will see the logo is Python logo only okay so it's not a matter of logo which is uh applied here.
So file has created successfully. The next step is after ready with your script file. Okay. So next step is you need to execute right? Yes. The file which is already available that is called scriptto file. And to execute that file there are two ways are there.
Again the two ways I will say I will tell you like one way is using command prompt. Yes, command prompt true also we can execute your required Python file and other way is by using ideally software already which we have. Okay, so let's show the execution process of Python file with command prompt. Okay, so go back to command prompt, open the command prompt but make sure that here you must uh uh go to the location. So where your Python file is present right now right so my Python file present in desktop location look at this this is the desktop location but this desktop location let's see right click on it and simply and uh just give me one second so more options okay I'm trying to find out the path actually this path is present in uh one drive location my desktop is present in one drive location so that's what I'm just moving towards one drive location so otherwise in your case directly you can pass desktop only but in my case the desktop is present in one drive so that's what I'm moving towards one drive location cd space one drive cd means change directory yes I'm into one drive location after moving towards one drive location again cd space desktop So finally I have moved into desktop location where my Python file is available. So once you are located in desktop. So Python file is there right?
So to execute Python file simply pass the command python then sample. py python space sample. py then press enter. Now you can see we got the expected result. Welcome to duras of python fullstack online sessions. It's very simple and even you can have shortcut like py space sample py also no need to type python completely. So simply you can pass py py means python only py space sample py press enter we got the output clearly here. So writing the code in notepad and save with the py extension and go to the command prompt and uh execute your python file. So this is the way to write Python script file with the notepad and after saving withp extension we are going to run through command prompt. So instead of command prompt option you can also execute your python file already available script file using ideally software. So just now I have open ideally right. So the moment when I open ideally what was opened? So interactive window is opening now. We can see this. This is interactive window. But I don't want to write the code here because I have already my Python script file ready. So that I need to open it. How to open it? File menu.
Open.
File menu. Open. Okay. So, and where is your file located? Desktop.
Now you can see sample. py open it.
Now you can see this is open here clearly. So whatever we have written. So simply here what to do? Run menu is there and then run module. Why module?
Yes, in Python every py file act as module only. Module means it's one file.
Okay, I'll talk about module means what exactly later. So by default in Python every py file act as our module. So this module I'm going to execute. So simply click on run and run module or else you can simply hit F5 key from your keyboard. So we got the output here. So this is the way to execute simply which is already available file script file in notepad. So that we can open it in ideally and run it.
But here if you go through script mode uh here and writing code in one place like notepad and execution in another place right you have any problem again you have to visit that place and uh uh do some editing and come back and save and run. So these are the options actually here and there we need to move but instead of moving here and there so just go with the third option like Python IDE software directly.
So when we go through this third option using Python ideally le so directly open Python ID software there only you can create a file okay and write the code save and run everything we can do in one location so that I'm showing right now using python ideally here so let's show that how to write code in ideally software directly without depending on command prompt or notepad. So let's open ideally again you will be notice the interactive window is opening but now here I want to create a separate file.
So how to prepare separate file means simply file menu and there is a new file option is there. Okay. So click on new file and there is untitled window is opening and here you can write how much code you want. So simply I'm writing the simple logic. Now you can see whenever the moment I'm writing the logic so it's not going to uh what we can say showing any intellisense or option suggestions. So directly we are printing this and save this now. So without saving you can't run it now you can see run module. So it is asking source must be saved. Okay to save. Okay let me cancel it. Saving is important.
So let me save this file again in a desktop or any location. And I'm trying to give this type test py.
Save it. Once saved successfully. And now you can see run this run module. We are getting the output is 30. Right? So this is the uh way to create a new file in ID software and write the code how much you want and save it and run it in one location. But the problem here also there is no intellisense suggestions what mistake you're doing instantly it will not uh uh find out. So look at this one I'm going to remove the bracket. But if I remove the bracket is there any indication that you are doing mistake here? No. Okay. So save changes and run this. You can see after execution only you will come to know what mistake done. So the bracket has never closed. ities. Okay. So while writing or during the program writing you don't get any alerts that you are doing some mistake here. So this is the problem we notice in this ID software and even there is no intellisense and much more suggestions will not be populated here. So as a programmer you need to take your own risk to write Python code. So I recommend already who is having the rules and regulations about Python. So I recommend them to use these three options. Anyone like interactive mode, script mode, Python ideally like this at a beginner level.
Okay, if you are new to Python programming. So I strongly recommend to use proper editors like PyCharm editor which I'm going to launch now. And if you are not uh interested to work with PyCharm, you can go through your own editor like uh VS code, visual studio code also better. And some students uh they may go with different editors like Jupiter, Spider, Anaconda Distribution, Autumn. Okay. And even uh uh Edit Place, okay, Notepad++, Sublime Editor. There are lot of editors are there. So editors are just nothing but uh to edit your program. Okay. Any programming logic we can edit by using editor tools. So the editor tool is a software where we can write our code and execute and run.
Okay. This is the main purpose of editor. But what I said just now like Jupiter, Spider, Autumn, Anaconda these editors are especially for data science who are working with data science or data analytical program using Python.
for them I suggest these uh Jupiter, Spider, Anaconda and all but exclusive Python programmers who are into completely especially fullstack development I recommend to use proper editor like PyCharm or Visual Studio Code. So compared to Visual Studio Code so PyCharm is having better option because it's having graphical user interface more. So you feel very comfort uh while writing Python script in PyCharm editor because it's having lot of features. Okay. So you can edit your program easily and while writing Python script in PyCharm editor so there is lot of suggestions and populated windows and intellisense options moreover it will come so that you never find uh never feel difficulties to write Python code in PyCharm. So now it's time to launch PyCharm editor. Finally once I launch PyCharm editor and then from here onwards our concepts and uh lectures will be all with PyCharm editor only sir. Okay. Yes. But already I have PyCharm editor in my system. Look at this. Go to the search and simply type PyCharm. I have already PyCharm community edition is there. So that I need to uninstall now so that I can show you the installation process step by step easily. So that you will you will also set up from your site today. Right?
So let's go to control panel.
So let's uninstall the PyCharm community editor from my computer right now. So you can see this PyCharm Community Edition. Yes. Right click and install it simply so that I can show you how to download from where we have to download this PyCharm editor and installation. You will see that and one more important thing uh some students will do what without installation of Python and directly they try to install PyCharm editor not possible. Okay, you can download and install PyCharm editor uh without Python installation. You can able to write Python code but you can't execute because if you don't install Python your interpreter will not be there right. So if you don't have Python interpreter you can't run your Python program that's the important thing interpreter is required.
So any editor you can set up before that you must and should check whether Python installed in your computer or not by going to command prompt simply Python space- version. So if Python not there try to install Python first then after you can go through any editor setup like PyCharm or Visual Studio Code or anything. Now it's time to set up PyCharm editor. First you have to download it then after install it. Okay.
So how to download? Wait from wait to download here. So simply go to search Google search download PyCharm. You can type in search box download PyCharm.
So click on download PyCharm and simply you can see this. This is jetbrains.com PyCharm available. So this is the jetbrains.com official website. ities which is developed uh PyCharm editor. So this is integrated development editor PyCharm again. So it provides you can see there is a right hand side some description will be there. PyCharm is an integrated development environment used for programming in Python. It provides code analysis and graphical user interface debugging. All the options are available here. Okay, let's click on this first link jetbrads.com and notice this PyCharm professionalities. Don't click on it.
Okay, so wait some time.
This is professional editor. This ID especially for data science and web development. So even after completion of Python course, right? We will start web development with Tjango, STP other frameworks. At the time we recommend to use this PyCharm professional.
You can also use PyCharm professional right now also. But this is only for trial version, right? Free 30-day trial.
So only maximum 30 days you can use it.
After 30 days the evolution period will be expired. So you have to get license from jetprains.com that I don't really recommend. So that's what you can scroll down little bit. So you will find one more option PyCharm community edition. So this I recommend to install it. So, PyCharm Community Edition the integrated development environment for pure Python development.
Yes, we are focusing on Python, right?
So, core and advanced Python programming. So, that I'm recommending you to download this one. Click on download and your download will begin.
So, it takes 1 minute less than 1 minute of time to download this Pycharm community.
And after that, you have to begin the installation.
So the installation process very simple.
You just go with the flow by hitting next, next, next and install. It won't take much more time. Again, it's also lightweight software. And from here onwards, I'll write complete Python programs using this PyCharm editor. Or if you are familiar with Visual Studio Code also, you can do it. No problem at all. Okay. Right.
Almost done. Yeah. So, PyCharm Community Editor installed successfully. Sorry, download successfully. And let's go to the downloads folder from your computer.
Software download successful and try to install it by hitting double click on it. So, just going double downloads folder and there is a PyCharm community.
Double click on PyCharm community.exe.
When you double click, you can see this.
Do you want allow this app to make changes? Yes. And there is a PyCharm installation wizard will be there.
Welcome to PyCharm Community Edition setup. And click on next.
And click on next. Destination folder will be C drive only. Click on next. And uh activate all these checkboxes better because this checkbox is for creating desktop icon and this checkbox is important automatic path setting to your operating system and this is for context menu or menus folders will create and this is py. So y py extension I'm activating means whenever you add a new file uh in pycharm editor so the file name is enough along with file name every time no need to give py extension to save the file. So that's what I'm giving py extension here. So let's click on next. Click on install. So it will take few seconds again to complete this installation process.
Wait few seconds. Let me launch uh the PyCharm editor now. How it's it is look and feel. Okay. So, what are the main settings are there? I'll disclose now.
Just a moment.
Yeah, you can do it. No problem. Online so many will be there available. So you can instantly do it also. No problem.
Uh sir actually I lost your voice in the installation option I mean um I need to checkbox the create desktop option and uh remaining update content options.
Yeah. Yeah. Yeah.
>> All all options sir.
>> Yeah. You can select because that's better manually. No need to give later, right?
>> Okay. Yeah. Update path variables also.
>> That is important. That only important remaining it's not a matter. That is main main important thing.
>> Thank you.
almost done.
Yes. So after completion of your installation there is uh complete PyCharm community edition setup and it is asking reboot now means restart your computer or else you can choose I want to manually reboot later. So I don't want to restart now. So I want to do manually reboot later. So click on finish. And now you can see you can launch PyCharm editor here.
Excuse me. How to launch PyCharm editor?
So simply the desktop shortcut created right. Just simply double click on it and or else you can go to search PyCharm PyCharm Community Edition. Click on it and for the first time how the look and feel. You can see guys what options need to be select here.
Yes, I don't want import here. Skip import. Now you can see there is a this is the first time you will see the window after launching PyCharma. So welcome to PyCharm and create a new project to start from scratch or open existing project from disk or version control. They're saying so only Python script not project related things means you can select first option only one file Python file Python program do you want to write or else do you want to create a complete folder like project folder. So folder is nothing but it contain many Python files later we can include as many as you want.
And if you have already project folder from your computer, you can open it and uh choose the location of your computer and open that project. Or else do you have a code in repository systems like uh GitHub repository or version control system. So that is we can click on this last option. But my plan is today I want to create a new project folder. So from now onwards I can use this project folder in our upcoming sessions also daily. So click on new project folder.
Now you can see left hand side automatically the pure python option is there.
I'm selecting pure python program and the location will be by default like this.
uses your computer name PyCharm projects.
Second C drive PyCharm projects and Python project name is this. Okay. Do you want to save or create the project folder in this location? You can. Or else if you want to change the location, simply go to the folder option, browse it.
Select the location. Select the location in which drive do you want to create a project. Like if you have other drives, you can select other drives like D drive or E drive or some case like this. Okay.
Or else if you want to create the same location exactly what is the location it's showing. So you can go through the same location right now. Here you see the location is this is PyCharm projects. Python project 7 a.m. I'm preparing.
Yes, this is my project folder name Python project 7 a.m. Okay. So, and don't do any changes and all. Simply click on create it here now. Okay. Once the moment I click on create, so it's going to create some virtual environment. Look at this. Creating virtual env. So what is virtual env? See virtual env is an isolation environment means it is going to create a separate environment for your Python project folder. And from now onwards that you whatever you do a modifications or install any packages or uninstall packages from this project folder. So in the current environment only the changes will impact other environments other project what you are going to deal in your computer so that will not get disturbed. So that's the reason for every project virtual environment will be create automatically. Okay. Yes.
That means you are doing all the operations uh current environment that is virtual environment. So let's adjust this windows. So like drag and drop is there here. So this is the project folder.
There are so many files will be create later but we'll discuss these files and all which is unnecessary for us.
Internal files, libraries and packages everything will be available which is required for Python development. So now we don't have any Python file right so we need to add the Python file to write programs. If you want to see the location of your project this is the location exactly manually if you want to go to the location. And the next what my plan is to do. So I need to add some files to write programs. How it is? So simply right click on Python project 7 am folder and simply go to new and there is a Python file option you are looking. So you have to select this one. So what happen if we select this one? Yeah, it is a text file. Okay, it's a text file completely. So this text file also you can select. But the matter is uh you have to give file name along with the py extension. Okay. So that's what I'm selecting python file. So I need I need not to give py extension here. So right click on python project 7. Go to new and python file. Okay. So give the name of the file test py I'm not giving observe here because at the time of installation I have clearly mentioned uh py activation of checkbox. it. So press enter after giving the file name test.
So you are going to see the test file has created successfully.
Okay, it's created successfully.
So once it's created successfully means it's allowing to write Python code here.
So the moment when I try to write some print here pri so look at this automatically some intellisense option is coming. So this is helpful to write Python program fast when compared to notepad editor or other editor right. So whatever you want to write that it is present in intellisense means simply type press enter automatically it will capture from intellisense. So I'm writing some welcome message like this and do you want to execute this program simply right click on test py tab and run test. They are saying like run test.
Click on run test. In the bottom corner of the PyCharm, you are going to see the output window here. Welcome is output here. So this is output window. This is code writing window. And the left hand side what is there? Uh you can manage your project folder and files here only. And you can see this this is output right? Once we got the output here in the terminal like output window if you do editing again one more line if you add like this hello and no need to right click again and run test every time after doing changes already you have executed once right so come to the output window so simply refresh it here so rerun so automatically the output is affected here so this is the way to write Python code and execute in Pyameter but do you want to do any small settings like uh background theme changing and incrementing the font size.
So you can do all by going to setting option like click on file menu there is a settings option is there. Once you click on settings and the left hand side you are going to see the appearance. The theme is dark right now. Do you want to select light theme? You can select it and then also do you want to increase the font size? Simply you can go to the editor option. Click on editor option and there is a font option is clearly available. Click on font and the default font will be 13. If you want you can increase how much you want you can increase size. I'm increasing 20. So it's clear visibility. So we are getting the font size incrementing here. So like this any number of files you can add it.
If you I'm working with right now test py. So later I want to create one more file. Right click on project folder. Go to new python file test one. Press enter. You are writing test 1. right now. So you can type anything. Okay. So like this simple programming I'm starting. Okay.
Then print C. So do you want to execute this one for the first time? Compulsory.
You have to go to right click on it and test one. So test one is running. So this is the way to manage your uh files Python files with pyometer. So look at this by wantedly I'm removing the bracket here. Right. So once I remove the bracket so automatic indic uh error indication will be there by looking like for looking underline reds quickly is there that is the clear indication that your program is having some mistake forcely if you run then what will happen you can see the error window is saying syntax error in which line number also it is saying clearly line number four.
So I have to rectify that and refresh it's working fine. So this is how we are managing PyCharm editor from now onwards. Our complete lectures will be in Python Pychome editor only.
Okay. So that's all for today from my side. So this is successfully uh installed and set up as done and from your side also you can do same thing same procedure by following this and once you're ready with this editor setup so then from tomorrow onwards our coding will begin by including some fundamental concepts which is really important before going to continue all Python lectures. So we'll start coding part from tomorrow. Okay. So still you have two more demo sessions tomorrow and after tomorrow feel free to attend the demo sessions after that you can decide.
>> Uh I have one question >> tell >> yeah what are the other folders that uh I think you might have mentioned but I would have missed it. What are the other folders like scripts? These are the you know the uh py environ virtual environment configuration file and scripts is nothing but there are lot of script files there. These are supportive files we can say because python I said in the last lectures while giving introduction python having lot of libraries which will come with built-in libraries. So in the process of developing any application basically so these libraries will help to use the resources. So that's what these are the built-in libraries and packages will be there. So we don't need to concentrate much more on it because directly we are in a position to use it from here only directly.
So all available in project folder.
These are the library files resources.
See normally when we have install any software some supportive files are required right. So to run properly your project. So this is the supportive file which will be available here. So lot of files and libraries side packages. So these are all available you later in uh in upcoming sessions. So while sessions are going to be progress so you will understand what is lip and site packages all these things clear.
Right now at this moment it's not required to concentrate on it and not only these libraries if we have some uh additional libraries which will not come by default so you have to install explicitly that also possible how to install explicitly also I'll tell you in a situation wise So that's all from my side today. So still you have two more demos. You can feel free to attend tomorrow and dev tomorrow by using the same link. You can join at same time. After that if you want to continue with my lectures all regular sessions you must enroll after today's demos.
>> Thank you sir. Yeah, advanced topic means yes in advanced Python lot of topics are there right? So object- oriented programming, encapsulation, polymorphism, inheritance, abstraction, multi-threading, regular expressions, file handling, uh lot more pondas, mattplot lip, data analysis, visualization.
Our team will send the content course content. Please check over there which I have included what are the advanced Python topics.
That's better.
the course content provided uh through mail already. So you can click on that link and also along with that course content link our team will send the previous demo lecture link also. You can find that mail if you join in this session through valid mail. So automatically you will receive the mail from our team.
Okay.
So thanks for attending this session. So please continue tomorrow and after tomorrow also so that it will be good for you to understand further sessions.
Have a nice time. See you tomorrow.
>> Thank you sir.
>> And be ready with this setup. So it'll be better to practice from tomorrow itself.
Thank you.
Right. Let's start today's session.
So in the last lecture of Python we were discuss about how to download and install Python software and uh how to set up Python completely we discussed right. So even we have launched the editor called PyCharm editor. So from now onwards I'm going to use PyCharm editor to write continuation programs in Python language.
So let's open what we discussed in the last lecture. So this is the setup of Python after download and install Python software. I have shown clearly what are the different ways to write Python code and execute. So using interactive mode, using script mode, using Python ideally and using PyCharm editor. So finally we have launched the PyCharm editor. Right?
Yesterday what I have shown clearly download and install Pycharm editor also. Now let's open today PyCharm editor and open our existing project folder. So first of all to enter into PyCharm go to search and simply type PyCharm. There you will find PyCharm Community Edition right. So in this click on it PyCharm Community Edition.
In recent times what project I worked that project folder is opening directly.
But notice this this is not your project. Okay. So it is looking like Python project 10 am. But how to open your project file menu open option here is there open project folder. You can see click on open.
And where is your project located?
You can see I have clearly created my project in C drive users. Okay. and then computer name and PyCharm projects folder is there.
You notice that PyCharm projects and your project folder is here. Python project 7 a.m. Click on okay and it will ask you where do you need to open this window or new window or attach or cancel.
If I click on this window in this current window only the project folder will be open.
If I click on new window completely extremely new window will be create and on that window your project will be open.
If you click on attach means already right now we are in python project 10 name right below one more folder will be attached that is python project 7 a.m.
So I'm clicking on this window so it will be override replace.
Now yesterday we done some settings right but default look and feel is not like this pyometer I have changed wantedly the color is light color theme instead of dark theme and also even I increase the size of the font so from 13 to 20 like that. So this is the programs which we have seen in the last lecture like test py test 1. py two files I created like from now onwards any number of files you can create it by using this project folder. So observe here we are in test py. If you want to execute test py simply right click on test.p py tab run test. We are having welcome hello which is present in output terminal. And if you go to the test one again if I want to execute then right click and click on it. You are getting output like this only. Okay. Yeah. And one more important thing I want to disclose here.
Okay. Why mostly uh proper editor we have to use instead of other editors.
What are the main advantage when we start use proper editor like PyCharm? Okay. So which is really recommend recommended editor for beginners who are learning Python from the scratch. So you can look at this program a 10 b 20 c= a + b print c we got the output right. So if you got the output it doesn't make sense. This is correct standard way. No. So there is a standard approach to write Python code.
That approach who is going to provide means Python community people that is PEP standard 8. PEP means Python enhancement proposal.
They are giving some proposals to the developers to maintain the code clearly and neatly in real time development by following some PEP standards. But even I have written this program but this program is giving result for me. But it doesn't mean that this is following Python standard. How do you know? Simply you can place the mouse pan on equal to symbol. It is saying some warning. Look at this PP8 Python enhancement proposal 8 E25 what they are saying missing white space around operator okay your code will no doubt at all but this is not the way of writing program so professional programmers and professional programmers imagine that means and I can say inexperienced programs programmers suppose you are going to keep uh you are going to apply a job by keeping 2 years, 3 years experience, right? You are working like real time experience.
But easily you can identify by someone in real time the way you are writing the code. They look into your code whether you are having really experience or not. Why? They can look at your code if it is professional way then they can understand that he's having really experience because he's writing the code in standard format following like that but here I'm not following right now the standard format just the with the flow I have written this code but it's showing some clearly missing white space around operator so professional developers and who is going to follow some standards they don't write like this so how do you know that When the moment we use PyCharm editor then you will come to know that whether you are writing in proper way or not you can notice it. But imagine that if you write this program normally which I shown in the last lecture like interactive shell or script mode that means in notepad ideally that takes directly as it is how the way you type even it doesn't show you uh p standard warnings but in pycharm it's clearly says warnings this is not the way to write the program correctly so they're asking missing white space around operator means look at this left hand side of the operator, right hand side of the operator should give the space. This look neat, right? So when we place mouse pointer, the warning is gone. But you may get doubts or I have already plenty of lines of code. Then how I can rearrange the code in correct format like by following BB standard means simply place mouse pointer on this first warning. What it is showing there is a link called reformat the file. Click on this reformat. Automatically your program will be reformatted.
So this is the way to do formatting your program in proper standard way. So this is the better option to do this reformatting the file. So this look neat right compared to previous one. Previously we got output now also we are getting output. The code this code is following some standards what they are suggesting us.
So if you follow the proper editor these are the advantages will be there or instead of writing code in pycharm or if you write code in notepad so you can't get what are the rules and regulations are there so this is uh instant indications will be there in PyCharm editor okay fine next in today's session I'm going to discuss most important fundamental concepts What are that? We'll see that. So, Python fundamentals.
Python fundamentals. You must follow this Python fundamentals. Sir, there are total six fundamental concepts I'm going to cover. You cannot ignore at least one because if you don't know about these fundamentals how to manage then in upcoming sessions in our programming, you will get some problems. So these are very simple and easy to easily understand fundamental concept everybody can know that here. So these are the Python fundamentals. First Python fundamental is comments.
Next keywords these also called as reserved words.
Okay. Next identifiers and then next variables.
Next multiple assignment and then last one which is really important indentation.
Most of them get confused here only the indentation levels.
They are unable to maintain some indentation levels while writing program. usually some small mistakes they do in the programming. I'll also give clarity about indentation what exactly it will do. So first we'll focus on comments. These comments are very quite common in any language sir comment section. See generally comments can be used in two different situations. The situation number one is first suppose I have the program with me right now like a b c value a plus b and c. So all of a sudden I decided this program I don't want to execute. Suppose you can see I'm adding extra lines here. So print function I'm using.
This is the line which I'm adding.
Yes. So if I run this program test one what is the output? The result will be 30 just because of first four lines and the sixth line result also we got it right. But I don't want to execute this sixth line or I don't want to execute these lines. What can I do? So option is you have to remove it. But instead of remove you better to keep in comments.
So whenever you remove again if you need again you need to rewrite right. So that's typical. So if you don't want to execute some lines of Python program better to keep them into comments.
So this is one situation where comments are required.
Then other situation is for example I'm a developer. I'm writing some application logic in this program. Okay.
So while writing the application logic so try to habituate leave the comment section.
Leave the comment means just try to write or add some comments for your logic. So what purpose you are going to write logic? What is the reason to define the logic over there so that at least after few days if you look at look back your code easily you can understand by you so if you don't leave the comments when we look at your code even you have only written so you may think why you have why I have written this code at that point of time again so not for you only but later okay for example you left from the company you resigned the job and your code can be transferred to some other developer. If the some other developers look at your code, they need to understand at least by reading your comments, right? So that's the reason comments will helpful to understand the code more better if you leave the comments. So these are the two situations we can use comments. Now coming to the point. So how to put comments in Python? Very simple. Every comment starts with in Python has symbol. So you can also use this h has sign for single line comments as well as multi-line comments. Okay. So let's keep this comment single line comment. How to do this? Simply manually come to here and give the hash sign automatically when I run this then commented line will not give or will not produce any output in the terminal. And if you want uncomment again remove this hash sign then it's working it's including. So what's going to happen when we keep the hash sign here means when we keep comment Python interpreter will ignore the line of code from the execution what we keep the comment.
So uncomment means that lines will include in the program execution very simple way. So Python interpreter will ignore commented lines from the execution. If you uncomment, it will include in the execution. So we notice that everything is right. But sir, one line if I give comment, I can manage by including manually them some has symbol.
But if I have multiple lines will be there like 10 15 lines at a time I need to give the comments then how I can do that. Okay. So simply there is a shortcut key to give multiple comments.
ctl + forward slash control + forward slash for example you can see I'm going to select this all lines control forward slash automatically all lines commented now run this we are getting only one line execution no result of this program again uncomment purpose again reselect this lines which you want uncomment control forward slash uncomment so now this time it's worked well. So comment uncomment. So enter the program. Do you want to comment? Ctrl A means automatically everything will be selected. Control forward slash commented. Now run it. Nothing is there.
Again select it. Control forward/ uncomment. Comment on comment. Both purpose we use control forward slash only. So this is the shortcut to provide comments for your code. Okay. not only uh avoid some lines of code from the execution you can keep writing some description about your here I'm typing some junk data you instead of junk data you can write some your statements and words about your program so that's all about comment section in Python okay fine the next most important fundamental concept again keywords or reserved words so these also very quite common in any programming language like C language, C++, C#, net, Java, even in Python some keywords are there. These are so these are also called as reserved words. Very simple.
Python provide some keywords or reserved words.
So that words are reserved for some particular task to do. The word which is reserved for particular task that word you have to use for the same task only.
You can't use your own purpose. Okay?
purpose is reserved. So let me explain what are the keywords are there. Suppose here I'm using if keyword actually look at this s if is a keyword actually I'll bring the keywords completely now if is a keyword but I can't use if keyword as a variable right better to take next program okay I'm adding next program you can see right click on python project 7 am go to new python file and then test to do py is not required test to add So sir how first of all let me bring the keyword list what keywords are there how to get complete keywords in Python within the simple two lines through we can bring it okay remember I'll write the two lines programming here using the two lines we can bring all the keywords which are present in current version of Python so the two lines of program will be look like import keyword it's a library I said that Python is having huge standard libraries right one of the libraries I'm importing here keyword library in this library we have plenty of keywords present how to bring that keywords from the library means the library name dotk list class we can use print of keyword dotk list very simple so let's run this test 2 py you will see in the output window all the keywords are present or not Yes, look at this.
All the keywords are present here.
Sometimes you f you you will be seeing the output here in the one line only like this. So you have to be drag horizontal scroll and you can observe all the keywords. But do you want to bring the output in the same line without dragging horizontal scroll? Simply there is a option in terminal. You can see software app option is there. Click on software app. automatically will be present total keywords in the same window.
So notice this as I said in my previous lecture, Python is a case-sensitive programming language, right? Case sensitive programming language means the cases are very particular.
For example, look at this keyword list.
First three keywords are started with capital letter false f none and true t capital. So remaining all keywords are lower case presence. So how the way it is there same way you have to use in your programming. These are the keywords or reserve words. In this each and every word is reserved for particular task to do. You can't use any one of the keyword for your own purpose. The purpose is fixed. Let me explain. For example, I can take if keyword. Generally, if keyword is used for what purpose?
Testing the condition.
Okay. Even in upcoming session, I'll introduce what is if and else and all these things. So, if is a keyword, it is used to test condition. But I'm using this if keyword how as a variable. Okay.
How we define a equals standard? Like that same I define if equal to 100. I'm trying to print if you will get syntax error. Look at this. Some underlined red squiggly are happening means that you are doing some wrong. So click on run and you will see the syntax error if invalid syntax at line number four.
So you can't use any keyword as your own purpose like variables. As I said that every keyword is having its own purpose and task. Same purpose you have to use.
So let's add IF is this keyword? No, not at all. It's a variable name. There is no keyword with the name IF. It's valid. You can see we are getting the output 100 value printing IF. It's a variable name. Other than keyword name, you can use this name. No problem at all. If it is keyword it will not allow you. So any keyword we cannot use as a variable.
It's a fix. So every keyword is having special task and special purpose. Same purpose you have to use it. So this is the way to get the keywords in Python all keywords. So no worries every keyword will be introduced according to the topic. But okay at this moment I can't explain each and every keyword purpose right? So that's not good practice in reality. So we just go with the flow with the concept in the conceptually we have to include this keywords where we can exactly use it and notice this already in this program one keyword used keyword uh import keyword.
So import is also one of the keyword.
You can see this here. This keyword can be used for what? importing some libraries any libraries like import pandas import mattplotly import numpy these are the packages right python packages whenever you want to work with numpy arrays you can import numpy or arrays like this these are the libraries pandas as I said some libraries will not be available you have to install explicitly suppose I'm trying to import pandas underline red squiggly is giving that means Pandas is not a built-in library.
Do you want to install it explicitly?
Place the mouse pointer on it. Install package pandas. You have to click on it.
That's it. So all the libraries are not built-in libraries. Some libraries are explicitly also have to install it. So this is the procedure actually. You'll come to know later. So let's import keyword library and keyword.kw list. I'm printing all the keywords in Python which is available. And these two lines will not only work in PyCharm editor. It works anywhere. Like previously in the last lecture especially there was editor tool I introduced by default when we install Python software there was an editor tool right what is that it's a built-in or default editor while installation of Python it come automatically. So if I open ID software here also same thing you can type it like import keyword then next here print is not required to use right simply keyword dot kW list when I apply you will see this total keyword list is coming and displaying here so these two lines any editor anywhere you can use it it brings you complete keyword list which is available in Python so I'm concluding that keyword Keywords are used to use particular task. Every keyword is having special meaning. The moment when we use any keyword in Python programming then this keyword can convey a proper message to the interpreter to do a particular task. If I use import keyword means interpreter can understand that user is looking for importing something. It can be import.
If I use for example DF keyword, so interpreter can understand the programmer is trying to define a function. Yes, this DF keyword is used to define a function. So these are the keywords which are present in Python.
How to bring keywords? Just simply type two lines of code. Import keyword. Print keyword.kw list. You will come to know that what keywords are present here.
Okay. Every keyword is important to us.
depends on the topic and situation. I'll introduce all the keywords at the time.
I'll also clearly mention this is the keyword which I'm using. What purpose also? I'll explain you clearly just with the flow. Okay. Right.
Third fundamental concept identifiers.
It's also very simple.
This identifiers help you to give the names properly. For example, names means in Python any name is called as identifier sir. For example, how you can identify me? By my name, right? How I can identify you? By your name. So, similarly in Python programming, identifier is nothing but it's a name.
What name? Any name. It can be a variable name or it can be a function name or it can be a class name. The name is nothing but identifier. We can say that.
But while declaring the names in Python, we have to follow some rules and regulations. Yes.
So that rules are called as identifier rules. What rules are there? I'll explain one by one. Total eight rules we have to follow. Just while giving the names only that is called naming rules also we can call it as. Okay. Yes. So in Python any name is called identifier either it is a variable name or function name or class name or any other name how the name should be like this okay so let's quickly discuss rules to define the identifiers rules to define the identifiers total eight rules are there I'm saying first rule number one identifier can be a lower case or upper case. Yes, we can mention in lower case characters or upper upper case characters name but I strongly recommend to better to mention lower case only.
Why not upper case also? I'll give you proper reason. Just wait. And identifiers are case sensitive, right?
Case sensitive means if you mention the name lower case, you have to access in lower case only. If you mention the name with upper case, you have to mention with upper case only. You have to access.
Okay. So that is called case sensitive.
Let's cover with these two rules. Simply emp this is the name of my variable 1 2 3 4 is the value print empid yes it's worked well look at this it's working well the output is coming so this is the valid identifier I define emp ID in lower case I'm accessing also lower case but the moment when I try to access in upper case it will give error. What error name error I'm telling you sir you should be focus on errors also so what based on your uh mistakes what type of error also you will get you have to keep it in our mind okay so observation of error names also very important in programming language so that it will be easy to handle in futures so this is the name error is got because the capital letter empa it is not defined right so you defined but lower case but you are trying to access upper case not possible so you must access lower case only in case if you define the capital letter name that's okay fine but I'm saying that don't use unnecessarily the capital case names why sir it working well no yes but the problem is in Python language is whenever the programmer is defining any names in capital letter that indicates that you are defining constants.
Okay, constant means what? If see according to other languages like Java,.NET, C++ they're having const keyword const a equals to 100 means they don't need to change they cannot change the value it's a constant value fixed value.
If I remove const keyword, they can change the value at any point of time.
That is the meaning. But in Python, undoubtedly there is no constant con concept. Yes, there is no constants in Python. But symbolically, we can mention and we can convey to other developers that my value is fixed better not change. How I can convey to them that my variable values a constant value don't change. Okay, that how I can convey them by simply defining the name in capital letters.
Okay, I hope you understand why I don't recommend to declare any names unnecessarily capital case. If you declare the names in capital letters, the meaning will be changed. Right? you are conveying to the other developer.
This is value is fixed constant value better not to change but really do you want to expose your variable as constant go with capital letters unnecessarily don't give capital letters but unfortunately Python do not have content constant concept okay just symbolically we can define your constant type that is employ capital letter for example so if you are really want to expose your variable and value are constant you can give the capital letter otherwise go with small letter only the meaning will be changed unnecessarily okay so just because of it is looking good don't use capital letter right so the purpose need to be required so that's what don't recommend capital letters yes we use capital cases sometimes because in built-in constants will be there in future uh programming So at that time also I'll discuss exactly all the constant values must be present in capital case only. So it can be allow lower case upper case and case sensitive. Then rule number three identify allow the digits. Yes, digits means the names can have the numbers like 0 to 9. But make sure that identifier should not starts with a digit.
should not start with digits.
Okay, you can mention your variable name with the digits including but it should not be starts with digit. For example, here emp1 digit included. Yes, ID 6. It's valid sir. EMP1 ID 6 valid.
You see the output is coming here. Valid right.
But when it is invalid, if the name starts with any digit like 8 or 8, this is invalid. The name or identifier cannot start with a digit. It will allow digit but it cannot be starts with a digit. Remember that. Okay, this is very important point.
Anywhere you can use include digit but except starting.
Next rule number five.
identifier allow the underscore. This is only the special character is possible to include allow the underscore. Okay. So underscore is symbol is possible except this symbol. No other symbol enter type like dollar sign aster that is but identifier should not be two parts. Yes it should not be two parts. Two or more parts.
For example, here I'm having a name called EMP is one word, right? ID is other word. So if I give emp space ID, now you can see it's invalid expression because your identifier or name is having multiple parts, right? So this is not valid. In case you want to define the name which is contain multiple parts better to combine by using or including underscore sign.
So this works well.
Two or more parts any other parts also there you can combine with underscore sign only. This is the only special characters are allowed like underscore in identifier names. Next seventh rule.
If any identifier that means name starts with an underscore then it is private. Private means what I'll tell you. Okay. Private. If any identifier or name starts with an underscore then it is private consideration. But remember sir by default in Python language all the variables or method names are public public nature.
So if you observe other language programmers like net, java, c okay like this they're having the access specifiers like for example int name equals to s is the name right is the person name. If I mention here before integer public so this name is public variable so anybody can access this name and anybody can modify at any time. So if I consider this as private so nobody can access this name only in which context you define or declare there only we can access and modify within the same class or outside the class context. So private means where you define there only you can access. Public means no restriction on it. Anywhere we can access. But in Python language there is no such type of access specifiers like private, public, default and some other things. But in Python how we can declare private variables and public variables even protected variables also there.
This is not right situation to discuss about that. Obviously in upcoming session especially in object- oriented programming I'll give more clarity on it. Okay. But just for situation demand I'm trying to explain if any identifier starts with an underscore symbol then it is private. As I said that in Python there is no access specifiers to make your variable as private. So if the variable name starts with underscore underscore then this variable is automatically become a private variable.
So this private variable can only be accessed within the same class where we defined. But right now we are here we are not having any class. But in object- oriented programming obviously we have to deal with classes and objects right.
So inside the class if I declare this variable with starting with two underscore in the same class only we can access not outside the class but imagine if I remove this underscore starting this automatically become public variable means if you define this variable in one class outside the class also can access or modify anywhere there is no restriction generally this private and public restriction procedure. So if you want allow them to access somebody this your variables and data in outside the class then make your variables and methods are public.
If you don't want allow other classes to access your variable or method data simply make it private. How do we make it private in Python? Any variable or method there is no private access modifier like other languages. We don't have any name like private. So symbolically we can define starts with underscores right. So this is called private only. So later you'll come to know in detail about this. Then the last rule which is already explained no keyword or reserved word can be used as identifier. Yes, it's not possible.
Sir I explained before this topic. So no keyword or reserved word can be used as identifier means there are so many keywords are there. Every keyword is having its own purpose and task. So no keyword can be used as identifier. For example, I said DF is a keyword. It is used to define the function. But you are using this keyword as identifier or name. So it's not possible syntax error.
So now this time one more advantage also there are here. Normally if you write code in notepad or other editor mostly the color of the words will be same even notepad you can see everything will be present in black letters you can't even identify by looking its color whether it is keyword or whether it is attribute whether it is name of the function or class name or variable name you can't identify right but in Pycharm the keyword name will be present in blue color and then function name present in some little bit dark blue color and the variable name valid variable names present in black color text. Some attributes also there that will be in magenta color. So at least you can recognize by looking its color. What is that? Is that variable or is that method or is that attribute? At least you can recognize if you use proper editor advantages. This is only this is one more advantage actually. Okay. So if you write same program in notepad it will be appear all color same. So you can't even identify which is keyword which is attribute which is variable. Right? So this is the problem. So these are the total eight rules present in the identifier concept.
So just name declaration variable name function name or class name while dealing with the names properly how to give. Okay. If you give wrong then immediately the indication will be there. So you have to be change.
So lower case or upper case you can define with any name. Better to go with lower case. Case sensitive names are how the way you declare the name. Same we have to access it. And the name or variable names or any names can have the digits but it should not starts with a digit.
Name contains underscores. Generally, if more than one part of the name, then we can use underscores.
If any identifier starts with underscore, then it is private variable or private method. And no keywords are reserved word can be used as identifier name. So this is rules and regulations about identifiers.
Fine. Next fundamental concept is variables.
Can I say variable is also called as identifier? Obviously I said just now identifier is nothing but it's a name.
Either it can be a variable name or class name or function name. Right? So I can say that variable is also called as identifier. Yes.
But the variable is having the separated definition. What is that? I'll tell you variable is a named memory location.
Variable is a named memory location.
Suppose in Python how to declare variable A is a variable name value is 100. Now I'm asking you where 100 value is going to store. Simply your answer is A. Right? Yes. for storing 100 value inside the A or with the name A. A should get some memory right because of it has to hold some data 100. So that's the reason variable is a named memory location of any value.
So this value is going to stored in the name of a memory. Python will assign some memory for a to keep store the value 100. So that's the reason variable is a named memory location. Yes, even we can get the memory address of a also.
How to get memory address also? I'll tell you now only just a moment. So variable is a named memory location.
Okay. In Python, while declaring while declaring the variable variable, we need not to we need not to specify any data type, right? Why? Because Python is a dynamically typed programming language.
Python is a dynamically typed programming language.
Yes, obviously dynamically type of programming language it's not about statically. Okay, you know very well what is statically and dynamically if you follow my lectures from the day one itself. So in the last demo lectures I clearly mentioned statically typed means during the program writing time dynamically typed means during the program execution time.
So here the during the program execution time Python automatically will decide the data type for a variable based on its value. So while declaring the variable we need not specify any data type because Python is a dynamically typer programming language only we should focus on what value do you want assigned for which variable. Okay. So this is variable type. Let's see quickly the program and you will also get memory address of the variable also clearly for example a value 1 2 3 4 1 2 3 4 is printed but is there any data type I mentioned like integer no even you can see like other languages this concept is very common right data type variable name value but in Python it's not allowing it's an error look at this what is the error syntax error So you should not supply the data type explicitly because Python is a dynamically typed language. During the runtime based on this value, data type will assign automatically for a variable. Yes, we can see what type of data type is assigned for your variable by mentioning type function.
There is a type built-in function. This type function through we can get data type of a. what Python assigned for a variable integer assigned.
Now if I choose 12.34 Python assigned for your data variable a float type assign if I include like name Python at this moment assigned a type is string type string means group of characters if I use only one character according to other programming language like C, C++, Java.net net for single character we can use car type but in Python string type only. Okay. So even single code also you can give string type it is look at this single quotation marks generally car type right in other languages but in Python there is no car data type only we are having string even single character which is present in single quotation mark string only even multiple characters like group of characters we include string only and even if I don't include any character it's called empty string Even if I try to give some numbers in the quotation marks that is also string.
Anything which is included in the quotation marks that's called a string.
If I remove the single quotation marks here now it become what? Integer.
So only the thing is explicitly we are not going to give data type from our side like integer, float, string, boolean like that. But Python will decide internally based on the value data type of variable. Okay. Right. I'm trying to store 100 value here. Now how I can get memory address of a value because you are saying that a is a named memory location. Right? So every variable is having its own memory which is assigned by Python for storing the value in it. How to bring memory address of any variable? There is a built-in function again in Python language. ID.
ID means identity.
Identity of any object. Okay, built-ins are there here. So I want identity. I want to get identity of A. So a memory address I need to get. Look at this. The A memory address base number will be like this.
Okay. So this is the way to get identity address of the variable memory location.
So in this memory only the value is going to store with the name of a. If any point of time you are going to access with a name the a memory will be give the value 100 in the output window.
So there are in this program three functions are involved. Print is a built-in function to provide output.
Type is a built-in function to get the data type of the variable what it is assigned. ID is a built-in function to get the memory address of your variable.
Okay. Then for example, look at this.
Let me show you one more important thing. B equals to 200. Okay. So I'm I'm not printing the value. If you want you can print the values also. How many variables are there right now with me?
Two variables, right? I'm trying to find print ID of A, print ID of B. What will be the memory address of these two? Different memory obviously. Look at this. A value 100.
The memory address number is this one ended with 760.
B value 200. Then ID of B also I'm finding 960.
Because Python decides the two values are different right. So for these two values for A it will allocate different memory. For B it will allocate different memory. If I use 100 and 100 for both variables, what will happen? So no matter how many variables are representing this value 100, Python will assign only one memory for 100. Then for that memory anybody can come and access with the name A with the name B. You see here just because of value same Python decide same memory allocation for A and B. So we are identifying id of a id of b say memory. So you can go to this memory with any name either through a name or through b name you will be served 100 value only because 100 100 representing two names but all memory will be same. So from this memory it will be served. If the value change then different memory allocation will be there. Look at this right? So this is different memory address. So this is identifiers and variables what we discussed today. So in tomorrow's session we will also continue from here multiple assignment concept is what and most importantly majority of the beginners will get confused Python indentation. I'll also explain clearly with examples indentation levels where to follow how to follow that. Don't miss it tomorrow. It is the last demo of Python fullstack. So please try to understand. So once tomorrow demo over.
So next Saturday onwards we will assign a new link that is paid link. So after completion of tomorrow lecture tomorrow you can feel free to attend the demo again which is last session fifth session demo. And after demo complete then day after tomorrow onwards do you want to continue my like regular sessions our team will send a paid link with the new link. So please try to enroll before going to join day after tomorrow Saturday so you can continue with lectures. Once your enrollment process is over obviously I'll get my ladies from Dura Software Institute then I'll start sharing the PDF material and Google Drive shared folder. I'll create one folder in Google drive and every video lecture I'll upload daily in that Google drive. It is easy to access lifetime. Okay. So already we completed four demos right four sessions. Then tomorrow 50 will be done. The total five videos also will be uploaded in Google drive. From then onwards daily according to the discussion the video will be uploaded into the drive. So this is the procedure to access the videos in my drive.
So please feel free to attend tomorrow also demo for continuation. So concepts will be clear after that you can decide.
So do you have any questions regarding today's session or you can feel free to ask me. Say uh the address uh related to address >> uh a= to 100 b= to 100 you said that same address will be allocated >> it is only in python or uh in different languages also it will address same others >> uh I'm not sure about different languages but in python for sure it is same values are there because of memory will be located same only if value changed then address will be changed here.
>> Okay. While writing the logic if we are uh changing to I mean uh initially we are giving 100 a equals 100 b equals to 100 but in in the uh after after sometimes we are allocating same 100 to b >> uh again >> it will point to the same see right now you can see I'm trying to take 200 100 the 760 number you can remember this number starts with 140 760 zero and now 200 is there like this. Okay. Now you can see if I change all of a sudden here and re-execute it now the address will be what you can see 4760 which is previous address only not new address extremely right.
>> Yeah.
>> Uh it's it's it's pointing to that only here because it's not required to allocate new address again because anybody can come to the address and they can access directly like that.
Okay.
>> Hi sir, I have one doubt. Uh if a is selected 100 again on the same a value variable a value if you give string then how the addressation >> uh different again different again a only no you are saying a >> yeah a same a value we given. Yeah.
Okay.
>> Uh like this you can see this obviously different right?
>> Yeah because one is in in value >> one is int one is string different address. Ah wait wait wait wait this is 100 is only there duplicate variables are there let me print because it is Python is interpreted language duplicate will not ignore in the same point of tim which I include a a uh side by side latest a will be considered that's what I changed the code you can see this now this memory address same this memory address is different here you can see okay so previously how I did like this right if I do like this what happened this a 100 only print this a 100 only print why because it is latest value collected here you can see it is interpreted >> okay okay >> that's what I said >> the latest value it will take you >> obviously that's what I separately mention it and it works well >> okay and the duration as it is uh 45 to 50 days so exactly >> see sir yeah uh I'm Not sure about the duration because it exceed 5 to 10 days because up to two months I can say that.
>> Oh okay.
>> Yeah. Yeah. Only Python core and advance and full stack duration 4 months compulsorate need.
>> Okay.
>> Yeah. Mr. Rahul Ranjan you say that videos are available for lifetime but the CC says that it's available. Yeah I have uh uh seriously uh I have to modify it. See uh most of the faculty who are working for Durgasoft okay different different tools and uh languages and technologies who teaches they are giving 6 months access for the students okay so with the flow uh my team backend team they don't know about my lectures so even I said many times but they are not changing for my lectures message it's I'm giving promising YouTube to my lectures all videos are lifetime access trust me okay ignore the message.
Okay.
So, lifetime access that will be.
So, have a nice time. Thanks for attending today's session. Please feel free to attend the tomorrow session. So, after tomorrow then you can decide sir.
Okay. Yeah.
>> Thank you sir.
Yes, sorry for the delay due to some technical reason.
So meeting was started little bit delay. Okay.
Yeah.
Let's start today's session.
In the last lecture of Python, we were discuss about the fundamental concepts.
Okay, fundamental concepts we discussed.
First, let me open the project folder which I created. So, go to search and type PyCharm. So, PyCharm Community Edition it is. This is our editor tool.
As I explained in the last lecture how to download and install PyCharm editor and the moment when I open so this is not your project right. So at last uh what project I work that project is opening right now but to open your project simply file menu open and go to the location where your project is exactly located. So select the project folder name and click on okay.
So you'll be able to see the last program which I have written. This is only okay. So we are working with right now fundamentals of Python. So these are the Python fundamentals.
We discussed already some important fundamental concepts like Python comments, keywords or reserved words, identifiers, rules to define the identifiers, variables. Okay. Now today I'm going to starts with multiple assignment and one of the most important fundamental concept I said indentation.
Okay. So let's complete first weekly multiple assignment.
See multiple assignment is the process of multiple assignment is the process of assigning assigning a single value to multiple variables.
Single value to multiple variables. And also multiple assignment is the process of assigning assigning multiple values to multiple variables.
So both are multiple assignments clearly.
So assigning single value to multiple variables and assigning multiple values to multiple variables. Okay, both let me discuss. So first suppose here single value to multiple variables means a equals to b = c = 10 for suppose.
So look at this a b c or three variables are there and I'm assigning only single value to them. So why this concept means instead of writing here three lines for same value different variables like p10 c10. Okay. So instead of writing three lines just simply you can finish the code in single line by assigning single value to multiple variables at once and print a print b print.
So we are getting the output like all variables a and b and c 10 10 10 values present here but the output is coming here you can see it is in line by line right. So you can also display the same output values in the same line like print a b c like we said within one print statement if I use then all the values are present in same line right but notice this here the output clearly the default separator will be there that is called space after 10 there is a space again after 10 there is a space so each and every value after some space is located. So this is called default separator actually. Okay. But do you want to give some your own separator like comma after a value or colon or hyphen anything then there is a separator attribute is there in Python.
So this is the attribute s equals to what separator attribute do you want?
You can mention it. But suppose I'm giving comma sign then each and every value after comma sign is present here.
You can see 10 comma 10a 10 like this.
Okay. So any separator you can use this colon. So each and every value after colon separator and then each and every value after hyphen separator like this. So separator is an attribute which can separate the values based upon your separator value like comma colon or something. So this is one of the technique multiple assignment single value I'm assigning to all multiple variables in the left hand side. Okay. So let's comment this line.
Let's go to this approach. Now multiple assignment is also the process of assigning multiple values to multiple variables. Yes, multiple values to multiple variables means A, B, C, three variables are there here and three values I'm assigning orderly.
So the order is important. 10 goes to A, 20 goes to B and 30 goes to C and print A, B, C here. Okay. So print A, print B, print C. these variables clear. So let's run it. We are getting the values 10, 20, 30. Okay. Fine. So can't to we display these values again.
Same line. Yes, possible. Print A, B, C, we can display. No problem. Look at this.
Okay, it's possible, right? Yeah, only one line. Fine. But right hand side, how many number of values are passing? and the left hand side that many variables need to be takes place not more or less okay but the next one more attribute I'm introducing let's consider this print A print B print C in the line by line just because of I'm using three print functions A B C we are getting 10 20 30 values are present here 10 20 30 here present okay fine but my requirement ment is still I want to use print a print B print C like three print function but my output should be present in the same line I need to bring into same line not move towards next line for that there is an attribute called end attribute end with space here I'm using end with space so this time what will happen the 10 value print here in the line number one after 10 printed it will give the space immediately after space 20 also will come into the same line. Look at this.
Even though I have included three print function but still the A, B, C or values are printing in the same line by using end attribute. Along with end attribute we can also provide separator like this.
You see here end with separator comma then 10, 20, 30 will be there. So in Python language generally if you have multiple values we can print one by one line right but if you don't want to move towards next line if you want to still display in the same line then we use end attribute in general you may get after C why you have not used it end means after C there is no value right so that's what this is the last element not required to use in case if the value is here for example D and 40. Okay, we are printing D. For example, you can see print D.
Then C after end I can use.
Okay, because this is present in next line, right? So for bringing that end attribute, I can use for C after also here. So this makes sense like this.
Okay, so this is two attributes separator attribute end attribute here.
So multiple assignment means assigning multiple number of values at once to the multiple variables and also assigning single value to the multiple variables clearly. Okay fine. Next last fundamental concept indentation.
So just be focus here try to understand what I'm explaining now. So most of the beginners especially who are dealing for the first time with Python they get confused in the indentation levels. So let me write some simple program here.
whatever I'm writing the program right now okay it's not belongs to Python rather than it belongs to other language structure like for example in other languages how we can declare the variable int i equals to 10 but it's not possible in python right because python is a dynamically typed language no need to specify any data type like this okay fine if i equals equals to 10 I'm writing condition if condition. Don't worry if else if a nested if everything will be there in the upcoming session we'll discuss. But here my intention is not to explain about if how it works else how it works.
Indentation is required here. Okay. Now if I= to 10 open delimter close delimter and then if it is any language like java system.out.intell print ln for example if it is java true I can say that else block open and close system outprint that is false I'm writing so what does it means here so I clearly mentioning I value 10 if I is matches with 10 then my control flow should jump into if block if i value for example 100 100 equal to equal to 10 not correct right if not correct then my control flow should jump into else block. This is our main intention to write this program.
But actually I'm saying that this program logic is not at all suitable for Python because it's only suitable for other language context like C language, C++, Java, any language apart from Python.
So in other languages programmers they use curly brackets like open curly brackets, close curly brackets to consider the block of code like it is if block and this is else block. To consider a block of code programmers use uh simply if uh curly brackets within the curly brackets open and close whatever the statements you write here these statements under comes into if block. This statement under comes into else block right? Yes. But in Python we don't use any curly brackets to consider a block of code. Then what we use in Python to consider a block of code means indentation. How the indentation in Python means generally four spaces.
Okay. Four spaces indentation we will maintain. Let's try with the code. Okay.
Yeah. So same logic I'm writing in notepad with Python standard so that you will understand what is the general uh problems we face while writing code especially Python code in uh notepad you will understand now okay so later I'll write the same code in PyCharm then what is the benefit you will see that okay first let's open notepad you know in the last lecture already explained so how to write code in notepad and execute in command command prompt right so let's open notepad first this is python code I'm writing the code in python standard i value 100 if i = 100 colon so this is the syntax of python don't look at the syntax later I'll explain you just my intention is to explain about indentation here okay now notice this i value 100 100 equal equal 100 comparison colon after press enter the cursor is blinking in the same line indentation levels.
Usually programmers can start type the code from here. Print true.
Else colon print false like this. Okay.
Print false. So I value 100. If 100= 100 print true else block print false like this only it is there.
Is it clear? I 100 I value equal equal to 100 print true else false. So if this condition is okay, true should come. If not okay, false should come. Okay. Yes.
But notice that this code is completely belongs to Python according to Python syntax only I have written. But it look good but structurally it is but indentationally not correct actually.
Okay. Logically it's okay but uh indentation wise it's not okay. So let's save this file in the desktop. And I'm trying to save the file name with test py test py then save it now. So how to save and how to run you know that let me run this program using command prompt.
So let's go to command prompt.
And now my desktop is present in the one drive. So I need to change the directory c displays one drive.
And let's move towards desktop. CD space desktop.
Here to execute Python code already you know the command right? Python space test py. So I'm expecting the result is true right because in the notepad window what code I have written. So I value 100 100 equal to equal to 100. Correct.
Correct means I'm expecting true but it is giving error. Look at this. What error? Indentation error. expected and indented block after if statement on line number two it is saying so meaning is what you have written the code like this but this time uh what will happen every line is going to be considered as new line only there is no line or code belongs to if block or else block that means no code is present in the if block code is present in the else block it is so now you can see why because this every line is considering as new line means it's not belongs to any code of if or any code of else. So yeah the problem is indentation levels. So I said that Python indentation uh should be like four spaces right. So you can see 1 2 3 four space indentations I'm providing 1 2 3 4 here.
Now this time Ctrl S that means save changes. Now this time you will get result. You can see this. Let's rerun test py. I'm getting true. Why? The reason is previously it was indentation error. Now this time clearly true is occurring because I value 100 100 equal to equal to 100. Correct. If it is correct control jump into if block inside because I'm leaving the spaces like four spaces indentation spaces automatically this print function or print statement under comes into the if block. I'm leaving spaces here again this print function under comes into else block like this. So let's change the code again s changes. Now I value 10 10 equal to equal to 100 not correct. It will go to else block. So let's run else block is working fine. False it is. Okay. This is the false fine. So not compulsory to take four spaces.
Right? So at least one space is enough.
Look at this. I'm trying to take only one space. One space here. I'm trying to take one space like this. Yes, it's work. At least one spaces matter or more number of spaces also. Okay. But default is four spaces. So in uh notepad if you write Python code these are the problems we face generally. So if you know already Python syntax rules and regulations then if you can manage the indentation levels then it is good but new to Python programming. So if you don't manage the indentation levels properly then you will get trouble right. So that's what we don't really recommend at beginning level of Python learning. We don't recommend this editor like Notepad and all. So that's the reason we go for proper editor like PyCharm.
Let's see same code. If I write in PyCharm, what is the advantage? You can see. Let me close all the tabs. Let's create a new file.
Right click, go to new Python file. I'm adding a new Python file to this project folder and give the Python file name is test3. py py no need to give because at the time of installation I have activated the checkbox called py extension. Press enter the test 3. py file created. Now notice same logic if I try to type here I equals to 100 then if I equals to 100. Okay. So equals to equals there are two operators are there. You can see this single equal to means assignment operator and double equal to means relational operator.
Later we'll come across operators concept also in upcoming session. But notice this the moment when I press enter automatic indentations levels coming or not here. So this PyCharm editor will give depends on the type of code what you are writing like block of code. So auto indentation levels will be there. Look at this automatic indentation levels. So print true here.
Else print false here like this.
So I value 100 if I = to 100 print true else print false like this. So let's run this. We are getting the output true only here. So the indentation automatically will come in pyometer.
If you remove the indentations like here also look at this the error indication clearly there underline quickly and even if you run forcely the indentation error expected an indented block after if statement so at least one statement is enough but default PyCharm editor will take four space indentation levels now it's working fine one space I have given so default is four spaces here like this so this is the indent mentation only to consider the block of code like if block, else block, for loop block, while loop block, class block, function block, these are the blocks, right? Within the block of code, what statements you want, you can write by using indentation levels. But other programming languages, in other programming languages, we use generally curly brackets, open curly brackets, close curly brackets to consider a block of code. But in Python we use what indentation concept here. So this is indentation.
While writing code in PyCharm then auto indentations will be there. So you need not to get any confusion while writing the block of code. Okay fine. Next I'm talking about after fundamentals. Look at this. These are the fundamentals. No fundamental concept should ignore. So these are very important comments, keywords, identifiers, variables, multiple assignment, all indentation levels.
Okay. So who are new to this uh session, okay, please uh watch my uh previous session recorded videos which is present uh which is uploaded in YouTube channel.
Even after completion of this demo lecture, our team will send the demo links also in you can find out that four uh sessions previously what I discussed.
Okay. Yes. So next I'm talking about data types in Python. So I said already Python is a dynamically typed programming language. Okay. That means no need to specify any data type while defining the variable. Normally in other languages like we use this right but in Python we use this only like this I = 100 data type no need to specify here because it's a dynamically typed language based on the value data type will decide for your variable in Python only okay fine so let's it doesn't mean that Python don't have data types it's having data types what are the data types we'll see that basic types and sequence types are there so generally Okay, generally data type is used to store what type of data inside the variable.
Okay, so Python offer two types of data types. One is basic data types.
Basic data types and next one is sequence data types. Sequence data types or these are also called as data structures.
data structures.
So basic data types are what? So first one basic data type is none.
Okay. The next numeric numeric numeric classified into integer float bool complex.
Okay. And this is numeric type. Int float bold complex type. and none type also one of the type here in Python. And what are the sequence data types or data structures? So there are lot of sequence data structures are they? First one string. Okay. Next one list double double and then set dictionary range byes by array then frozen set. So these are the data structures in Python. Byte array and frozen set here.
Frozen set, string, list, tpple, set, t range, bytes, bite array, frozen set.
Okay. Fine. These are the sequence data types or data structures.
So later we will come across in detail all these data structures. First we'll start today basic types how it useful.
Okay. So none none first of all n o any none capital letter it is. So it's a keyword come data type. Yes. So in the last lecture we have applied keyword list to bring the keywords completely.
So this is completely none is a keyword and come data type here. In general in other languages how to uh store null values by using null type suppose here you can see in other language I'm speaking if user don't want to store any value inside the variable they can say null but in python there is no null type instead of that we can mention none.
So anytime if you don't want to store any value inside the variable then you can simply say none. None means nothing.
Okay. If you don't want to store anything inside the variables mean this is not correct declaration. Right? This is called undefined.
So you should specify none and you can try to print none type. You can see type also type of I.
So I equals to none. I have initialized none value to the I print I. What type of I it is I type. So Python decide what type of data type for I variable means none type only. Look at this. Okay. This is none. So if you don't want store any value inside the variable simply you can mention none type. Okay. Or else if you later you decided that to store some value here you can store value to the I variable. So it's integer type. Look at this type is integer. And if I include 1089 for example it's called float type right? So these are basic types generally usage data types. These are int float. But in the int float we need to discuss few more things. What are that? I'll tell you now.
So first of all this is 10.89 is a float. Okay. But can I convert this float to integer? Possible. So converting from one data type to another data type. It's called data type conversion or type casting mechanism.
But I want to convert this float 10point type 9 into integer. So how it is? So for example you can see J equals to int of I print J then print type of J. So I'm converting this 10.89 8 9 okay float type to integer type that is what J only print J print type of J okay so this is 10 this is 10.89 float the initial value is 10.89 state and this is float and I'm converting that float to integer. So we have successfully convert into integer.
Look at this int function I'm taking here.
This is converting from one type to another type. So I initially 10.89 it's a type is clearly says that float type I'm taking the i 10.89 and convert them into integer and store into j. J is 10.
It's an integer type type of j also integer. Or else we can do like this also. 10 is in in initial value integer right we can convert this into float sorry here instead of int function then we can use float function. So float of j I float of i so initial value 10 after converting float then 10.0 so float value is coming. So this is common conversion into two float flow to end.
Why we need this conversion? You will get the clear clarity in the next example. Just a minute. Okay. Because conversion is important to us. Fine. So let me comment this program.
So this program every time as of now we discussed some programs right? Every time I have initialized the value inside the program but I want to accept some value at running time. Running time means what? But suppose here name is there name is a variable I'm giving just my name like moan print the name like name okay what is happening here the name already decided right inside the program variable and value and I'm printing that's output is coming this only but my requirement is I want to ask the name from the user I don't want to give the name directly so remember in Python If you want to ask any input value from the user during the program execution, then we use a function called input function.
So print is a built-in function. It is for output what you want to display in the output terminal. But input is just for asking the values. Okay. So what statement through do you want to ask?
You can supply the statement enter your name for example and the input function will ask the name. Okay. So you can see in the terminal enter your name is saying at runtime I'm giving my input like moan and press enter whatever we entered the name at runtime that will store into name variable and print the name only right it's very simple fine so this is a string type look at this type is what type string type name is a string type we are entering the group of characters for example I'm entering dura and name is dura string type only it's present here output only Okay fine.
So if I try to let's comment this. If I try to take a value 10, b value 20, c= to a + b. Right? So this is very simple. I can say result is then c.
So what's happening here? 30.
But this program we can observe I'm already decided the values here for this variables. So I already explained right Python is a dynamically typed language means what based on the value what we assign okay to the variable automatically data type will decide for the variable A and B integer type two inteious are adding 30 30 values stored into C. C is printed here that is fine.
But if I want to ask the input values this numbers I don't want to give inside the program directly. So instead of that I'm asking input values. So again you have to use input function. this functions through you can ask number enter first number then again I'm trying to use input function then enter second number like this now let's run you can see you are expecting the number from the user as an input I'm trying to enter the number like 235 and I'm trying to enter some 45 right so 23 + 45 I'm expecting the result is 68 but notice this the moment when I hit the enter so what is the result 2 3 4 5 is coming so what's happening here this is what important you should notice that so I'm trying to add two inputs like because we have calculated like a plus b also but we are unable to do that so here it is not possible here it's not happening arithmetic addition right but rather than what it is going to do here string concatenation.
Okay, string concatenation is happening meaning is in Python language by default whatever you are going to give inputs at runtime this means program execution time by default all the input values are treated as what type string type yes string type only so I will show the proof you can see print type of a after entering the value for a you will come to know that type Write type of A event print type of B. What type it is?
Type of B. So now let's begin. If I enter 10 is my first input. Look at this type is how it treated as string. If I enter second input 20 type is treated as what? String. So two strings. String plus string. String only 10 20 string concatenation concept. This is but I need uh arithmetic addition of two numbers right so that's what actually here it's required to convert your variable type from string to integer yes inside the program directly when we use values like 1020 that's not a problem because during the execution time Python will decide the data type of that value based on value it's an integer type it's okay but running time we are giving Right? We are inputting in you are giving inputs at during the program execution. But by default Python will treat it as all the input values from the execution that is string only. Okay, you have to be implicitly it will not convert integer from string to integer.
We need to convert explicitly as a programmer. So that's the reason you can see when we enter 23 45 2 3 4 5 this is string concatenation string type only.
So you have to convert this string type to integer type. So let's take other variable like x equals to int of a. Then if you want you can try to find out type of x also. So that's it clear. Next here I'm trying to take y is another variable int of b.
Then printer type of y.
Now you should add c equals to x + y not a + b because a + b your inputs that treated as as it is string only after a string converted into integer I'm storing that integer value final value into x right. So explain why I'm doing.
So let's begin the program execution.
Now this time you can see initially whatever the value I'm entering 78 it's a string but I'm converting this 78 into integer that is type of x it's integer only. Then 10 it's also string initially but I converted into integer it's also string converted into integer and 78 + 10 88 result is correct.
So this is the way to do type converting. This is the situation where we can do converting from one type to another data type. And don't look at this program lengthy. Okay. Because you said no sir, Python is simple programming. No much more lines we can write. Okay. So it's a straightforward syntaxes. But just for your understanding point of view, I explain each and every line separately. But it's not required just for adding two numbers. This much code is not required.
Okay, we can short the code. Look at this. I'm commenting how to short the code means directly you can see A equals to int of input of ask the number with the statement enter first number like this. Next B equals to int of input of enter second number like this. Okay. Then simply c= to a + b and then print sum is c. That's all. The ao program and this program both are same. But this program is clearly explain just what's going to happen each and every line by line. But now you can see this program first it will ask the input value from the from the runtime like input function through the input obviously will treat it as string right that we are converting into what integer so immediately store into a integer type so like this let's see it's easy to handle like this 2 3 + 4 5 23 + 4 5 68 it's coming okay so this is the conversion is required so I'm concluding final statement like Okay, by default in Python programming whatever the input values you're accepting at runtime that means program execution time okay that values are treated as string format. So if you want to convert that string to integer then we use conversion method. So in function we have to use okay but during the program uh writing time whatever the values you are giving that no need to be convert because already Python will decide the data type of that values which have given inside the program only runtime values have to convert accordingly.
But in this program there is a problem.
Observe if what happen if user entered some float value is 34.56. Right? Look at this float value I'm entering. There is a problem. This is called exception value error invalid literal. Yes, it's unable to do that. So if you want to deal with floating point numbers also.
So better to do with float conversion.
Here the advantage with float conversion what? You can add two integer numbers.
You can add two float numbers. You can add one into one float. Everything is possible. So let's enter first number 23.4 and then enter second number 43.2. So we are getting that 66.6 result. Okay. Two floats. I'm adding two integers. We can add it. But the result is float only because you have converted float right 12 + 34 and one float one integer is possible one float one integer it's possible now so one float one integer is possible two floats possible and two integers are possible but notice this sir if I entered float values like but my final result should be integer only what can I do okay here you can see 34.5 is a float 23.6 the float result is float only in case if you want to display the final result integer again you can mention here int of C the result value where it is here it is C that you can convert into integer so you can see that even if I try to enter 34.5 23.6 six. So we are getting 58 only. The reason is int type here. So this is the way to work with user input values. So input function is present in Python to accept input value from the user and print function is used to print the result. This is output function. This is input function. So this is the way to deal with integer and float with numeric type. And there is a bold type is there and complex type is there and even data structures are there. We will be discuss these all in tomorrow session from here onwards. Okay. So this is about your Python demo lectures which I have conducted. This is the fifth demo lecture we completed. Okay. So last four demo lectures already there in the YouTube channel. they posted only five demo lectures will be posted in YouTube channel for every new batch. So who are new to this session I strongly recommend to watch the four demo lectures. Anyway once your enrollment process is over then I'll collect the mail ID from Dukasoft. From there onwards I can share all the video lectures to your Google drive along with Python PDF clearly.
Okay.
What if you want uh if two strings are inputed then it should concatenate then if two inte values are given that it should sum up. Oh that's only what two strings are concatenation right?
If you give two strings adding you can use directly no in of input of input function by default treated as string values at runtime that you want to convert it we are converting integer we need to do calculation right so that's what I'm converting into integer type data type conversion implicitly it will not convert explicitly we need to convert as a programmer if you want add two strings we can add it So like this S equals to S1 string input enter a string s_ub_2 another string input enter string and then s3 equal to s_sub_1 + s_ub_2 print s3 let's see here these are string type right completely string type by default input function be treated a string. For example, I'm trying to enter first string duda and second string soft. So, we got dura soft.
It's a string only.
No need to convert integer, right? So, this is all about demo sessions. Okay. Yeah, we have a class tomorrow like uh Monday to Saturday classes will be regular. So, only Sunday is the holiday. That's what I'm telling you. who wants to continue with my lectures from tomorrow, please uh contact Durgasoft and enroll for this course. Only enrolled students will get the new link. So you can't able to join with this link from tomorrow because the demo sessions has over. Okay.
Yeah, I don't think so. cast function it's there here in this but it might be in math function related that's not okay so please try to contact durasoft as soon as possible before going to join tomorrow session and so that immediately I'll collect the mails from them I can start share the videos and material so far what we discuss uh to your Google drive by today evening so that you can feel free to attend tomorrow's sessions uh continuously from tomorrow with the eval eal means evolution that is uh eval is different whatever the values you are giving so calculations will be takes place straightforward only we cannot do that calculation manually right 10 + 20 minus 3 / 4 into 3 like this very lengthy calculation evaluate the expression like this yeah that function is there built-in function a I will introduce soy slowly so a lot of things need to be discussed you will see in the upcoming sessions okay so after this class our team will send the demo link so you can click on the demo link you can find out there all the demo lectures which I conducted so far and uh also course content who are new to this session I'm telling especially for them so it'll be clear concepts will be clear if you watch the demo lectures then anyway I'll upload the so far what we discussed fifth session right so 1 2 3 4 five videos will be uploaded to Google drive so that I can share to you so please contact Dasoft if you want to continue with my lectures from tomorrow So please enroll today itself so that you will get a new link so you can join on that link only.
Have a nice time. Thank you for attending these sessions.
No matter Mr. Vicki if you are nonIT or IT but I said in my demo lectures no background is required. So you should focus in learning process. Obviously you can improve skills and you will get a job.
No doubt at all. Don't look at your background at all. Okay? Nothing will happen. Even if you have gap, you can easily fill that gap. So by putting the experience only that thing is subject is the matter.
Yeah. For sure. For sure. Regarding that, I'll assist you.
Yeah.
So once enrollment process is over even how many students are there in this patch. So I'll create a WhatsApp group.
So regularly we can keep in touch with that group so that you can share your uh doubts and all screenshots. Okay. So that is possible and even uh once I start logical programming I used to give simple assignments tasks also exercise programs. Even the same exercise programs we'll discuss in the next session. So you can feel free to talk to me in the session itself whenever you have a doubt or you can feel free to uh send a message in chat box.
Have a nice time. See you tomorrow.
>> Thank you sir.
>> Thank you.
>> Yes. Let's start today's session.
So this is your first session of Python fullstack web development.
Okay. So this is Python fullstack development session.
So first of all in today lecture I'm going to discuss in Python fullstack development what subjects are going to be covered. Okay. So I'll explain you clearly each and every subject purpose.
Okay. Then you will get clarity.
So what things are there in Python fullstack development, right? Yeah. So first of all in Python fullstack development or if you want to become a Python fullstack developer, you must and should learn one language. Okay, that is our main core language. So that language name is Python. So this is the main subject. Okay. Python first language.
Next some frameworks are there in Python fullstack development especially uh to develop web applications or websites. Okay. Some frameworks are there. The frameworks are nothing but like Django framework, rest API framework, flask framework. These are the frameworks.
Along with these frameworks, you must and should aware of UI basics means user interfaces like HTML plus CSS plus JavaScript and then jQuery and then Bootstrap.
Okay. Then along with UI designing or UI basics. So you must and should aware database knowledge. So in full stack development we are going to cover SQL library and mySQL.
These are the database tools.
So observe carefully. These are the main subjects which I'm going to cover in full stack development. Okay. one language that is Python and total three frameworks Tjango, Rest AP, Flask.
These are web application development frameworks. In the web application development process, you must aware the UI design like how to prepare the web pages or websites design-wise. Design purpose, we need to learn UI basics.
Okay. and database management also required right in the web development process compulsory we need to handle with our data so that data base management purpose we need to blend database tools like SQLite 3 and MySQL so total these six subjects I'm going to cover in Python fullstack development so if you enroll for this Python fullstack development the course duration is 4 months Yes, it will take totally 4 months to complete all these sub six subjects that is a part of Python fullstack development.
For suppose if you enroll only for Python that means some students are looking for only Python programming language according to their requirement it's enough Python basic Python that is core Python advanced Python both are there in Python language only Python if you enroll so it takes the duration is 45 working days to 50 working days okay that means up to 2 months I can say that only Python up to 2 months like 45 working days to 50 working days and full stack development of Python that means total three frameworks one programming language UI basics and SQLite and MySQL for this it will take 4 months duration. Okay. So depends on your requirement you can choose anyone.
So I can give you some clarity about this. Who should go with only Python language and who should go with complete Python fullstack development. Suppose your requirement is after learning Python. If you want to move towards data science or data analysis or MI now ML machine learning or AI in this area if you are planning to go with this area like data science, data analysis, AI and ML even AWS devs.
So after learning Python if you are moving towards these courses then better to go with only Python core and advance.
So no need to learn Django SPI flask UI and all okay but some students are looking for purely Python if they don't have any plan to move towards data science or AL ML ML AI and uh dev apps AWS like this. So if you want to become complete full stack developer of Python so better to go with all these subjects fullstack development. So this is just I'm giving clarity then you can decide which you want. Okay. Yes. Now let's talk about each and every subject purpose actually. So I'm saying in fullstack development you are going to learn these all six subjects right. So each subject purpose you must aware that. So first subject is python. So what is Python here? Okay. Yeah. First we'll talk about Python later I'm giving just brief introduction each and every subject. So that what is the purpose of subject you must know that. So after that we'll begin with Python only because Python is mandatory before going to learn anything in full stack development like jungle rest AP flask other things. So first 45 days to 50 days we have to focus on only Python. So first Python is Python is a programming language.
Yes, Python is a programming language.
Generally any programming language if you take which is used to develop coding part coding part for the applications.
Yes, Python is a programming language which is used to develop coding part or which is used to write coding part for the application development.
So if you want to develop the applications you must write some logic or coding right that coding we can write using what language? Python language. So that's what we can say it is a programming language.
So programming part is important and logic part is important for developing any application.
Okay, this is the language actually. So throughout entire fullstack development wherever you write some logic or wherever you write some coding part that coding part going to be written in python language through so that's what you must aware python compulsory before going to start writing code in any framework like djangle st and all. So this is our main core language what we are going to learn first initial days of Python fullstack development course. Okay. So once you know about Python once you are good at Python.
Okay. So then it's easy to develop any applications by using these frameworks.
So next subject is what? Django. What is Django here? So Django is not a programming language. Then what it is?
So you can say Tjungo is a framework.
Yes, Django is a framework which is used to develop the web applications.
So if you want to develop web applications then we use Django framework in Python fullstack development. So it's not a programming language, it is a framework. Okay. What is framework generally? Yes, framework is nothing but it's a collection of built-in class libraries.
Built-in class library means each class library contains some built-in classes like predefined classes and each predefined class is having built-in functionality. That means already pre-written or developed code which is directly available to use in our applications.
So the moment when we install Django framework so it offers lot of libraries especially which are required to develop web applications. Those libraries can be used to develop web applications at faster rate. That means if they have built-in libraries or predefined libraries using that built-in libraries we can quickly develop the web applications.
Right? We don't need to waste the time because from the scratch we need not to write any logic only uh we can use the libraries which are provided by Django.
So it's a framework. Framework means it's having set of rules and specifications.
Okay. It's having sort lot of libraries.
By following that rules and specifications we have to develop some applications. So Django is not a programming language. Django is a framework which is used to develop web applications. Web application means what?
Please mute your audio. Yeah. Web application means what? The application which will provide services over the web is called web application. Right? The application which will provide which will provide the services services over the web is called web applications.
Simply application which will provide the services over the web is called web application. Okay fine. But I'm saying that Django is a framework and Django is a Python based framework. Django is Python based web development framework.
It's completely Python based web development framework.
So that means Django framework completely written in Python language only. Okay. Tjango framework written in written in Python language.
So ultimately I can say to start learning of Django especially to develop web applications first of all you must have the knowledge of Python.
So Django prerequisite subject is Python. If you know the Python knowledge then easily we can implement web applications using Django framework.
Why Django need Python means? Because Django is completely written in Python language only. How they developed Django framework by writing Python script. So that's the reason we can say Django is a Python based web development framework.
It's completely Python frameworks and Django can understand the instructions from Python only. So you can't send any instructions from different language like Java or C language. So Python instructions only can understand by Django. So it is easy to implement web applications by writing code in Python language. So to learn Django, Python is mandatory. To learn Python nothing is mandatory because Python is a basic programming language. To learn this basic language no any basic language is required like C, C++ not at all because itself Python itself it is a basic language right? You can learn from scratch. Okay. And also you will get the knowledge in the basic level and intermediate level and advanced level once you complete your Python course here. So I'll teach from the scratch. No need to worry. So if some students feel that I don't have any programming knowledge then is that possible to learn Python? Undoubtedly it's possible to learn Python. Python no prerequisite languages. Okay. Directly you can start learn with Python only and Django before going to Django you must have the Python knowledge. Okay. Otherwise you can't. So this is about Django subject purpose.
Okay. It is purpose is what? To develop web applications.
What type of framework it is? Python framework. Why it is Python framework?
Because it written in completely Python language. Right. Fine. Next I'm trying to discuss about third subject which is also very very important in real time that is rest API.
This is our third subject which I'm going to cover in our fullstack development course. REST API. See sir whatever the order I have written here same order I'm going to cover all these subjects but except UI and SQite because these two under comes into Django rest API and flask with this frameworks only in the middle so let's talk about rest API so we know uh how to develop Django web application by using Python we are ready with web application right then why rest API again yes it's very important and in real time. What is the rest API purpose? I'll tell you that. So here first of all rest AP is one of the framework. Let's talk about this. Rest API is a framework.
It is also completely Python based framework. Rest API is a framework.
Purpose of the rest AP is which is used to develop which is used to develop the APIs APIs for web applications.
APIs for web application in REST API.
In rest API rest means rest means representational state transfer in rest API. Okay. In rest API API means rest means what? Rest means representational state transfer.
in rest API.
API means application application programming interface. Application programming interface.
So rest means representational state transfer. APA means application programming interface. REST is an architecture or design pattern. Simple.
The APIs which is going to design based on rest architecture is called rest API.
So what is the use of API sir? Because I'm saying that rest API is used to develop APIs application programming interface for web applications. So why rest API means actually API is a software tool. AP is a software tool which enables which enable the web application which enable the web application to communicate to communicate with other applications to communicate with other application.
Yes, this is very important in real time. Right? For example, you are having you are you are going to deal with many web applications in real time. For example, uh consider a flipcard.com website is there. In the flipcart.com website, what we can do? Generally, we can select the product and we can click on buy now. After that the flipkart website can communicate with the banking application for making payments. Right here what's going to happen for doing transaction over the Flipkart website.
So the Flipkart web application should communicate with banking web application. Right here two applications are communicating or talking with each other by sending request and response for making transaction successful. So that communication who is going to provide means exactly API application programming interface. Here two or more application can communicate with each other that purpose API software is required. It's a software tool we have to design for our web application. Yes, Python with Django through we are going to develop web applications. Once our web application is ready and to provide more services for the customers uh our web application need to be interact with other application for making transactions. So for that we need to generate API as a web developer responsibility. So API generate purpose we need to use another framework called test API. So the API is a software tool which enables the web application to communicate with other application. It's mandatory.
And the API which is used to generate or design by using an architecture called rest architecture is called rest API. In any fullstack development not only here Python fullstack development even in Java fullstack development net fullstack development APIs are very common. Here we are using a name of subject like rest API Java people they use restful APIs net people they use web API. So simple.
So this is another subject we are going to learn a rest API for generating APIs for web applications and when we should learn rest API after completion of Django only. So to learn rest API what are the prerequisite subject you know Django and as well as Python both are required how I said to learn Django Python is mandatory before going to uh starts with Django means Python is mandator API what is required Django as well as Python both are required because even though we are using rest architecture to generate APIs complete logic part we are going to write using Python language only. So, Python is mandatory.
Everywhere we are going to use in fullstack development. Wherever you write logic part that logic part should be written in Python only sir. So, rest APA need two prerequisite subjects like Django and Python. Next other framework is that this is flask. So, it is a completely different framework here. So, it is also Python based framework. So to learn flask ejango is not at all required rest api not required directly you can start learn flask with only python knowledge. So python is enough to learn flask. What is flask framework? It is so flask is a framework.
Flask is a framework which is Flask is a framework which is used to develop the single page web applications. Yes, single page web applications.
So as I said Django is a framework which is used to develop web applications. But what is the difference between flask and django means django we can develop medium scale and maximum scale applications. Okay. But using flask we can't develop medium scale and maximum scale applications. Mostly using flask we can develop what you know uh single page web applications only. Single page web application means like dashboard applications or micros service programming purpose we use flask. Flask is a framework which is used to develop single page web application and flask is a Python based micro framework.
Flask is a Python based micro framework micro framework which can be used to write microservices programming.
microservices programming also.
So this is flask to learn flask only Python is required not uh anything required. So it's a small flask framework. So instant uh uh service usage purpose we can write flask script and it can be helped to develop applications clearly. So in our syllabus flask is also one of the framework which is going to be deal a small scale application development. This is also used to design web applications. Okay.
Right. So total three frameworks are there. One is the flask framework and the rest API and then Django. Three frameworks and one language programming language. And strictly remember that these three framework especially Django, REST API, Flask frameworks are completely written in Python. So Python based frameworks. So if you write django, rest api, flask, logics that should be in a form of python only. So that's what python is mandatory language to learn these frameworks. Okay. Fine.
So let's talk about UI and SQLite in what context we use this. But before going to talk about this, let's discuss in Python fullstack development especially we need to focus on front- end development and backend development.
Front end and back end. Yes. So in frontend development what things under comes like for example here front end means first time when we open any web page or website.
So what we are going to see on the screen that is called front end right?
front end development. So the front- end development purpose we need to focus completely on UI.
So this is UI.
UI means user interfaces. UI means what?
User interface. So user interface means what we are going to present like uh login form, registration page, change password form. This type of UI design we need to represent to the customers.
Right? So that's is UI basics. It is only for designing which is under comes into front end development. So in the UI basics I'm going to cover HTML first to create a web pages and do you want to add some styling to the web pages CSS cascading style sets and then if you want to make some functionality like validations purpose we need to use JavaScript.
So HTML, CSS, JavaScript are the basic UI technologies. It's mandatory for every web development process. When it comes to jQuery, Bootstrap, jQuery is the extension of JavaScript. It is an add other framework.
So Bootstrap is the combination of CSS and JavaScript. So mostly we will prefer to use Bootstrap for bringing look and feel uh better when compared to normal plain HTML and CSS styling because nowadays bootstrap will play the major role in web development design. So it's bring look and feel more for our web application or for our UI user interface. Okay, this is the main. So ReactJS will not be included here. It's not required because what we are going to do reacts we are going to do with the Django itself only. That's what we it is not part of our curriculum.
So bootstrap jQuery all these basics will be covered in Django time only at the time of Django development.
Okay. So we'll be covered that all UI because you have to deal with the complete front- end development like UI design everything is there. So this is the part of front end and back end is having three subcomponents. Okay, back end is having three subcomponents actually. So what are that in the backend development what are the required? First thing is the programming language it's compulsory in the backend programming language that means logic must and should be right. The programming language what is that?
Python.
Next the frameworks. Yes, in the back end development compulsory frameworks also required. So frameworks means it's having set of uh rules and specifications we have to follow while developing the web applications in Python fullstack development. So what are the frameworks we are going to cover? Tjango framework, rest API framework and then flask framework.
These are the frameworks. Next the database. Yes, three compulsory the database.
So database purpose we are having the tools like SQ3 and MySQL.
See sir SQ3 is is a built-in uh database integration with Django framework. For the first time when we create Django application or Django web application, Django project that project is associated with inbuilt SQLite 3 settings. So maximum operations uh with the database we can do with SQLite 3 and also we are going to cover MySQL because most of the cases in Python or Tjang applications in real time MySQL is preferred database. It doesn't make sense using Python can't to be communicate with other databases like MongoDB. Okay. MSSQL, Oracle. Yes, it's possible. But majority of the cases in Python development as well as Django web development, MySQL is the preferred database. Or else SQLite there is a integration. This is pre integrated already integrated with Django framework. Okay. No need to install explicitly.
But it's a combination actually.
But suppose net uh fullstack developer how they use MSSQL right Microsoft SQL server it's a product of Microsoft similarly Java programmer Java fullstack developer how they use like Oracle so same in Python fullstack development we prefer to use MySQL you can configure with any database it's not a problem database main purpose is what how to deal with your customer data how to store the data and manipulate or retrive something access data like that database operations we can do in this tools. So backend development need three things in the back end while working with application behind the scenes what is required Python language is required because we have to write complete logic part with Python frameworks are required we are going to design and develop our websites or web application by following this framework set of rules and specifications and database is required uh to store a customer data that is in MySQL or SQL3. So these three language, frameworks, databases are behind the scenes it works. That means we can say backend development process. See for the first time when we open any website, we are going to see on the screen, right?
What presentation layer, right?
Presentation layer means UI, user interface. But user interface will provide us some registration page like labels, text boxes, buttons. Okay, you are going to interact as a customer with that forms. So, but behind the scenes what's going to happen? Actions will be performed, right? So, that actions and everything will be managed these three only language and frameworks and databases. It will not appear to the customers. Customer can only see in the front end like UI only. So, in Python fullstack development, so you must involved in two ways like front end and back end. So the person who can easily handle both front- end development and back end development things then that person is said to be fullstack developer. Okay. Or else the person who can handle with only front end but they don't know about language and frameworks and database management. So this is UI developer user interface. or the person who is having only Python. So they cannot handle with frameworks and databases and UI. So they can only involve uh writing the logic with Python. So exclusive Python developer like this. But if you know how to manage UI, programming and frameworks and database everything so you will be considered as a a fullstack developer like that only.
So nowadays fullstack developers are having huge demand in the market. So the better to go with fullstack development process. If you don't have uh any other course you are not looking like devs, AWS, AI and ML. As I said in the beginning session of this today, see Python only Python who needs means if you want to go with furtherly like after learning Python, Python with the data science, Python with the data analysis, Python with AI and ML. So AWS and Dev apps, testing, networking, if you want to go with this side that all tools are required Python script then you can go with only Python. Other than that you can focus on fullstack development. Fullstack means one language total three frameworks Django SP flask and knowledge of UI user interface and knowledge of MySQL and SQL3. So this is about our subjects which I'm going to deal uh in our upcoming sessions. So after completion of this demo session our team will communicate uh with uh you through mail so that they'll send complete content syllabus content you can observe once what I'm going to cover. So all the subject related content and they'll also uh send the today's recording demo link also. So totally four to five demos will be there. So from today onwards so feel free to attend and regularly the demos after the demo completion only you can decide that whether you want to go with this course or not okay that's feel free to take the decision it's not a matter so because of the thing is you have to lend comfortably right so wherever you comfort you can go with that but you have to learn properly that is our main intention and every session is going to be recorded the recorded video I'll upload to your Google drive once the session is over and the sessions will be from Monday to Saturday the Sunday no session. So and each and every subject look at this your Python right first subject and then Django rest each and every subject the PDF material will be hand over it to you once your enrollment process is over. So each and every subject uh uh material I'll send to your mail. So material will be there that is PDF and recorded videos will be there like the recorded videos will be once I send or shared the folder that is lifetime access like Python related videos and jungle related videos every subject clear videos are there. Okay. So let's see this material you will be able to get like that is core python basic python advanced python and django flask rest api in the django folder only the UI basics and database things will be there in this folder only so totals each and every subject pdf will be sent along with recorded video here only okay so this is which I covered basic things today Python fullstack development what is python and Django, rest api, flask and UI and escalate the just basic information I have uh given today. Now what from tomorrow onwards what is our action plan means I'll focus completely on Python only sir for first 45 days to 50 working days. So my focus is completely on Python. The reason is why you know I said already without having knowledge of uh Python then you can't able to start with Django right so that's the reason whether you are looking for fullstack development course or only for Python course no matter for all of them I'll start from tomorrow onwards only Python language once we complete Python within the 45 working days to 50 working days then after will starts with jungo. So at that time after 45 days to 50 days you will be good at Python for sure. No doubt at all you can handle the things which are in Python.
So easily we can understand the things.
Okay. So that yeah course fee and particulars and everything our team will send to you uh through mail. Okay. This is not uh right platform to disclose the details. So no don't worry. So our team will assist you regarding this. Okay. So they'll send the mail. So in that the complete particulars will be there or else you can feel free to contact durasoft so that they can assist you regarding this clearly. So first you have to focus uh to attend the demos. After demos you can decide it no problem. Okay that's my uh what we can say suggestion. Don't look at that everything. First try to attend the demo sessions next three to four sessions so that you will get clarity how I'm delivering the content and all so that if you based on if your comfortability you have to choose the right instructor then it will be good for your career right so just focus on that that's it rest of the things will take care of no problem but one thing I can say from my end as a uh trainer from DASoft so if you enroll for this course at the end of the day uh you will never disappoint that much guarantee we will give. So other than this you have to be focused and uh be practical.
Okay. So regular attendance is required.
So regular classes will leads to
Related Videos
Re: 🗣️📍theprophedu📍2026 GST 103 CLASS (E-EXAM REVISION)
theprophedu
636 views•2026-06-04
WEB TECHNOLOGIES UNIT-2 | Degree 4th sem BCOM Computers web technologies unit-2 full explanation💯✅
LearnwithSahera
1K views•2026-05-29
More tests are always better? How to use AI to identify tests that bring little value
Alliance4Qualification
335 views•2026-05-29
Search Algorithms Explained in 60 Seconds! 🤖💨
samarthtuliofficial
218 views•2026-06-01
Making Minecraft Clone with C++ & Raylib
PecaCSLive
686 views•2026-06-04
People of Game of Thrones using JavaScript DOM
AltCampus
296 views•2026-05-30
Instagram accounts got PWNed
EricParker
13K views•2026-06-03
Introduction to Problem Solving Part - 1 | Lecture 1 | Intermediate DSA
ascensionix
107 views•2026-05-29











