- Podcasts
- Python To You
- _7 Python Tutorial for Beginners _ Python Set Path in Windows and Help
_7 Python Tutorial for Beginners _ Python Set Path in Windows and Help
Python To You
- October 11, 2026
- 6 min
About this episode
No description.
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
_7 Python Tutorial for Beginners _ Python Set Path in Windows and Help
So if CMD is not able to get the path of it, that means you need to specify that by yourself. There are multiple ways of doing this. One is by saying set path. This is a command which you have to use equal to and you have to specify the path here. But this is a temporary setting, you know, because the moment you close your command prompt and reopen it, you will lose the path. If you want to make it permanent, what you will do is you will go to your C drive and here you will right click on the screen and you have to say properties. Click on advanced system setting. go to environment variables again you can directly go from your from the start menu itself we just type environment variables you will get it.
Whatever username you have and then app data inside this, if you click on local and then you have to go to programs, Python and then this one. So when you open your my computer, you have to go to this part, which is which is visible there. And depending upon your username, it might change. Depending upon the version which you are using, it will change. But then this is one of the paths we have to use. So I will copy this path, go back to the environment variables and click on new, paste. So we have done with the first path. But we have to specify two paths here. The first one is that which I have mentioned and then script as well. So this one as well. So copy it and go back, say add, paste and OK. So by doing this, you are setting the path now. OK, once you have done that, close everything. Go back to your command prompt. If you try now typing Python, it will not work. You need to make sure that you restart your command prompt. I'll close this. Type cmd. Now let's try typing Python, and it works. You can see we got a Python prompt here. Let's verify. 2 plus 3, always say enter, you got 5.
Now, once you have talked about this, we have another thing to talk about is help. Now, you know, when I was learning C for the first time, it's way back. And at that time when I wanted to explore C programming, because in books as well, you will get limited knowledge. And in lectures as well, you will get limited knowledge. If you want to enhance your skills, what I should do is. In Turbo C + +, we used to have this help option where you will see all the header files and you can see what is happening in that. In the same way, in your Python as well, we have help option. If you want to access that thing, it's very simple. Just type help and give a round back and say enter. It will open a help prompt for you. Okay, now what help you need? Now, basically, Python has.
But how do we know which module it has? Okay, well, I don't know. So what I will do is I will type topics. In fact, if you see the docs there, it says search for topics. In fact, you can also search for something which we have used till now and say enter. You can see we got list of modules available or topics available.
I want to know about list because we have seen that, right? So, I will type list. Okay, this thing tells everything about list now. So, if you scroll down, we have some methods here which we have used, if you remember. So, these are the methods which we can use, you know. So, it talks about everything. So, which version has included which things. And this is amazing, you know. Instead of buying a book, instead of... Of course, you should be watching my videos. And then with my videos, you can read the documentations, right? It will be very helpful. So this is about list. Okay, now how do you go back to your command prompt? How do you go back to the prompt? You simply say quit, enter, you're back now. And let's say if you want to find help on a specific topic, you know about the topic. So you will simply say help and in single quote you will specify list. You don't have to go to help and then search. You can do it from here as well if you know the command and you can see we got the information about list. So that's how you can explore different topics and you can read.
